Pushe flutter

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.

Installation

Add the plugin to pubspec.yaml:

pub package

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

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:

Soon...


Visit the Documentation for API references.

More Info

Libraries

pushe