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
Libraries
- initialize
- libsignal_protocol_hive_store
- models/hive_sender_key_name/hive_sender_key_name
- models/hive_signal_key_store/hive_signal_key_store
- models/hive_signal_protocol_address/hive_signal_protocol_address
- stores/eq
- stores/hive_identity_key_store
- stores/hive_pre_key_store
- stores/hive_sender_key_store
- stores/hive_session_store
- stores/hive_signal_protocol_store
- stores/hive_signed_pre_key_store