pushe_flutter 2.0.3 pushe_flutter: ^2.0.3 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/pushe-flutter.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: ^latest
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" />
Run the project after and you should be able to see your device in console after a short time.
Add the code snippets #
In your main.dart
:
import 'package:pushe_flutter/pushe.dart';
More Info #
For more details, visit HomePage docs