Pushe flutter

A plugin to use Pushe sdk in Flutter framework.

Run the sample

Run: git clone https://github.com/pusheco/flutter-sample.git
The go to example: cd example
And run the example on a connected device: flutter run

Installation

Add the plugin to pubspec.yaml:

dependencies:
  pushe: ^version

Then run 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="co.ronash.pushe.token"
           android:value="PUSHE_12345678" />

Add the code snippets

In your main.dart:

import 'package:pushe/pushe.dart';
Pushe.initialize();

More Info

For more details, visit HomePage docs or the Wiki

Libraries

pushe