pushe_flutter 2.0.1 pushe_flutter: ^2.0.1 copied to clipboard
Pushe push notification SDK implementation for Flutter framework, for Android and iOS
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="pushe_token"
android:value="PUSHE_TOKEN" />
Add the code snippets #
In your main.dart
:
import 'package:pushe/pushe.dart';
More Info #
For more details, visit HomePage docs or the Wiki