pushe_flutter 2.1.1-alpha01 pushe_flutter: ^2.1.1-alpha01 copied to clipboard
Pushe push notification SDK implementation for Flutter framework, for Android and iOS
Pushe flutter #
Pushe notification service official plugin for Flutter.
Installation #
Add the plugin to pubspec.yaml
:
dependencies:
pushe_flutter: 2.1.1-beta08
- If you want to use the latest version, not necessarily released, you can use the github source code.
pushe_flutter:
git:
url: https://github.com/pusheco/pushe-flutter.git
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
- FAQ and issues in Github repo.
- Sample project is in the library source code and in the Sample repo on github