pushwoosh 2.2.13 copy "pushwoosh: ^2.2.13" to clipboard
pushwoosh: ^2.2.13 copied to clipboard

This plugin allows you to receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).

Installation #

  1. Install the library from pub:
dependencies:
  pushwoosh: '^2.2.13'
  1. Configure Firebase Android project in Firebase console.

  2. Place a google-services.json file into android/app folder in your project directory.

Usage #

import 'package:pushwoosh/pushwoosh.dart';
...
Pushwoosh.initialize({"app_id": "YOUR_APP_ID", "sender_id": "FCM_SENDER_ID"});
Pushwoosh.getInstance.onPushReceived.listen((event) {
...
});
Pushwoosh.getInstance.onPushAccepted.listen((event) {
...
});
Pushwoosh.getInstance.registerForPushNotifications();

Guide #

https://www.pushwoosh.com/docs/flutter-plugin-integration

3
likes
120
pub points
79%
popularity

Publisher

unverified uploader

This plugin allows you to receive push notifications. Powered by Pushwoosh (www.pushwoosh.com).

Homepage

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pushwoosh