bnotify_flutter

Flutter plugin for BNotify push notifications and in-app messaging.

pub.flutter-io.cn: https://pub.flutter-io.cn/packages/bnotify_flutter

This package wraps the native SDKs:

Web is not included. The plugin Git repository is private (not open source). Install from pub.flutter-io.cn.

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.json
  • example/android/app/bnotify-config.json
  • example/ios/Runner/bnotify-config.plist