Last updated:
0 purchases
pushpole
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
copied to clipboard
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" />
copied to clipboard
Add the code snippets #
In your main.dart:
import 'package:pushpole/pushpole.dart';
copied to clipboard
PushPole.initialize();
copied to clipboard
More Info #
For more details, visit HomePage docs
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.