libsignal_protocol_hive_store 0.0.2 copy "libsignal_protocol_hive_store: ^0.0.2" to clipboard
libsignal_protocol_hive_store: ^0.0.2 copied to clipboard

This package is for developers who use hive with libsignal protocol.

Buy Me A Coffee

libsignal protocol hive store #

This package has the hive implementation of libsignal_protocol_dart.

Usage #

NOTE: 220,221,222 Hive type ids are used in this project.(Not sure if 0-223) is the limit of types.

import 'package:libsignal_protocol_hive_store/libsignal_protocol_hive_store.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await initHive();
  runApp(const MyApp());
}

initHive() async {
  await Hive.initFlutter();
  await HiveSignalStore.initialize(Hive);
}

// Contains following Hive Implementations
HiveIdentityKeyStore
HivePreKeyStore
HiveSenderKeyStore
HiveSessionStore
HiveSignalProtocolStore
HiveSignedPreKeyStore
1
likes
140
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

This package is for developers who use hive with libsignal protocol.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

collection, equatable, flutter, hive, hive_flutter, libsignal_protocol_dart

More

Packages that depend on libsignal_protocol_hive_store