JPush Flutter

Pub Version

Getting Started

JPushFlutter.setDebugMode(debugMode: true);
JPushFlutter.init('', 'developer-default');

JPushFlutter.setMethodCallHandler((call) async {
  if (call.method == 'notificationClick') {
    if (kDebugMode) {
      print('setMethodCallHandler: ${call.arguments}');
    }
  }
});

Libraries

jpush_flutter2