bnotify_flutter
Flutter plugin for BNotify push notifications and in-app messaging.
pub.dev: https://pub.dev/packages/bnotify_flutter
This package wraps the native SDKs:
- Android: JitPack
bnotifysdk1.0.5 - iOS: SPM
BNotify
Web is not included. The plugin Git repository is private (not open source). Install from pub.dev.
| Document | Audience |
|---|---|
| Live Flutter guide | Add BNotify to any Flutter app |
| integration.md | Same host setup, Markdown (included in the package) |
| Documentation.md | Plugin architecture notes (package maintainers) |
Console: https://console.bnotify.com/
Install
dependencies:
bnotify_flutter: ^0.1.1
flutter pub get
Follow integration.md or the hosted Flutter guide for Console files, Android BNotifyFlutterActivity, iOS plist / Push, and Dart BNotify.initialize.
import 'package:bnotify_flutter/bnotify_flutter.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await BNotify.initialize(configAsset: 'assets/bnotify-config.json');
BNotify.onClick.listen((click) {
// Route with click.screen
});
runApp(const MyApp());
}
Example
See example/. Replace placeholder credentials in:
example/assets/bnotify-config.jsonexample/android/app/bnotify-config.jsonexample/ios/Runner/bnotify-config.plist