PushPole flutter
A plugin to use PushPole sdk in Flutter framework.
Run the sample
Run: git clone https://github.com/push-pole/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:
pushpole: ^version
Then run flutter packages get
to sync the libraries.
Set up credentials
Go to https://console.push-pole.com , 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="com.pushpole.sdk.token"
android:value="PUSHPOLE_12345678" />
Add the code snippets
In your main.dart
:
import 'package:pushpole/pushpole.dart';
PushPole.initialize();
More Info
For more details, visit HomePage docs