pushe_flutter 2.3.0-alpha01 pushe_flutter: ^2.3.0-alpha01 copied to clipboard
Pushe push notification SDK implementation for Flutter framework, for Android and iOS
Pushe flutter #
Pushe notification service official plugin for Flutter. Pushe is a push notification service. Refer to Pushe Homepage for more information. It supports Android and iOS (it's also possible to use it on Flutter Web)
Installation #
Add the plugin to pubspec.yaml
:
dependencies:
pushe_flutter: ^2.3.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 #
Then run flutter packages get
to sync the libraries.
Set up credentials #
Android:
- Go to Pushe console
- Create an application
- Copy the credentials. An XML
meta-data
tag like below:
<meta-data android:name="pushe_token"
android:value="PUSHE_TOKEN" />
- Paste it into
Appliacation
tag of the AndroidManifest.xml file in the following directory:
android/app/src/main/AndroidManifest.xml
Example:
<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.
iOS:
Docs in progress...
Visit the Documentation for API references.
More Info #
- FAQ and issues in Github repo
- Sample project is in the library source code and in the Sample repo on github