Pushe notification service official plugin for Flutter.
Add the plugin to
dependencies: pushe_flutter: $latest
- If you want to use the latest version, not necessarily released, you can use the github source code.
pushe_flutter: git: url: https://github.com/pusheco/pushe-flutter.git
flutter packages get to sync the libraries.
Set up credentials
Go to https://console.pushe.co , create an application with the same package name and get the manifest tag. Add the manifest tag in the
Application tag. It should be something like this:
<meta-data android:name="pushe_token" android:value="PUSHE_TOKEN" />
Run the project after and you should be able to see your device in console after a short time.
Add the code snippets