sentc_flutter_secure_storage 0.8.0 copy "sentc_flutter_secure_storage: ^0.8.0" to clipboard
sentc_flutter_secure_storage: ^0.8.0 copied to clipboard

Using flutter secure storage for sentc. This plugin provides an alternative storage implementation.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:sentc/sentc.dart';
import 'package:sentc_flutter_secure_storage/sentc_flutter_secure_storage.dart';

void main() async {
  await Sentc.init(
    appToken: "5zMb6zs3dEM62n+FxjBilFPp+j9e7YUFA+7pi6Hi",
    storage: SecureStorage(), //init with the other storage
  );

  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: const Center(
          child: Text('Running on:'),
        ),
      ),
    );
  }
}
1
likes
150
points
26
downloads

Publisher

unverified uploader

Weekly Downloads

Using flutter secure storage for sentc. This plugin provides an alternative storage implementation.

Homepage
Repository (GitHub)

Topics

#crypto #sdk #sentc #encryption

Documentation

Documentation
API reference

License

AGPL-3.0 (license)

Dependencies

flutter, flutter_secure_storage, flutter_web_plugins, plugin_platform_interface, sentc

More

Packages that depend on sentc_flutter_secure_storage