flutter_fcm 0.0.1 copy "flutter_fcm: ^0.0.1" to clipboard
flutter_fcm: ^0.0.1 copied to clipboard

outdated

Firebase Cloud Messaging (FCM) Flutter package.

flutter_fcm #

Firebase Cloud Messaging (FCM) Flutter package.

Why flutter_fcm? #

  • 🚀 Easy to use
  • ⚡ Supports local notification

Getting Started #

🔩 Installation #

Add to your pubspec.yaml:

dependencies:
  flutter_fcm:
    git:
      url: https://github.com/wh120/flutter_fcm.git

Using #

The easiest way to use this library is via the top-level functions.

import 'package:flutter_fcm/flutter_fcm.dart';

init()async{
  try{
    await FCM.initializeFCM(
      onData: (Map<String, dynamic> data) {
        print(data);
      },
      onTokenChanged: (String token) {
        print(token);
      },
      icon: 'stem_cells'
    );
  }catch(e){}
}
36
likes
0
pub points
83%
popularity

Publisher

verified publisherwaelalhalabi.com

Firebase Cloud Messaging (FCM) Flutter package.

License

unknown (license)

Dependencies

firebase_core, firebase_messaging, flutter, flutter_local_notifications

More

Packages that depend on flutter_fcm