A plugin to use Pushe sdk in Flutter framework.
Add the plugin to
dependencies: pushe_flutter: 2.1.0
- 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