patapata_firebase_messaging 1.1.0 patapata_firebase_messaging: ^1.1.0 copied to clipboard
This package is a plugin for Patapata that adds support for Firebase Cloud Messaging to your Patapata app.
Patapata - Firebase Cloud Messaging
Add support for Firebase Cloud Messaging to your Patapata app.
About #
This package is a plugin for Patapata that adds support for Firebase Cloud Messaging to your Patapata app. It will automatically handle push notifications from Firebase and send them to Patapata's Notification system.
This plugin requires the patapata_firebase_core plugin to be installed and activated.
Getting started #
- Add the dependency to your
pubspec.yaml
file
flutter pub add patapata_firebase_messaging
- Import the package
import 'package:patapata_firebase_messaging/patapata_firebase_messaging.dart';
- Activate the plugin
void main() {
App(
environment: const Environment(),
plugins: [
FirebaseCorePlugin(),
FirebaseMessagingPlugin(),
],
)
.run();
}
Contributing #
Check out the CONTRIBUTING guide to get started.