smart_firebase_fcm 1.0.9
smart_firebase_fcm: ^1.0.9 copied to clipboard
A plug-and-play modular Firebase FCM package with local notifications, redirection, and manual feature toggles (analytics, crashlytics, etc.).
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate smart_firebase_fcm
Use it
The package has the following executables:
$ ios_setup_helper
$ smart_firebase_fcm_generator
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_firebase_fcm
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
smart_firebase_fcm: ^1.0.9
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:smart_firebase_fcm/smart_firebase_fcm.dart';