Pushe notification service official plugin for Flutter. Pushe is a push notification service. Refer to Pushe Homepage for more information.
NOTE: iOS features are still in development. Current version does not support iOS.
Add the plugin to
dependencies: pushe_flutter: ^2.2.0
- If you want to use the latest version, not necessarily released and stable, you can directly use the source code on Github.
pushe_flutter: git: url: https://github.com/pusheco/pushe-flutter.git
How to use Pushe
flutter packages get to sync the libraries.
Set up credentials
- Go to Pushe console
- Create an application
- Copy the credentials. An XML
meta-datatag like below:
<meta-data android:name="pushe_token" android:value="PUSHE_TOKEN" />
- Paste it into
Appliacationtag of the AndroidManifest.xml file in the following directory:
<application> <!-- Other tags --> <meta-data android:name="pushe_token" android:value="PUSHE_TOKEN" /> </application>
Run the project after and you should be able to see your device id in console after a short time.
Visit the Documentation for API references.