Skip to content
Pushe plugin for Flutter framework
Kotlin Dart Shell Python Java Perl Other
Branch: master
Clone or download
Latest commit 8b9e978 Feb 22, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
android PusheChandler: Fix clearing customId, Phone and email Feb 22, 2020
example Fix: Fix flutter versioning too high Feb 22, 2020
ios WIP: Started migrating plugin to EmbeddedV2 Feb 22, 2020
lib Wip Feb 22, 2020
test Feat: Recreate plugin using EmbeddedV2 Feb 22, 2020
.gitignore Feat: Recreate plugin using EmbeddedV2 Feb 22, 2020
.metadata Init commit Jul 30, 2019
CHANGELOG.md Correct changeLog spelling Feb 22, 2020
LICENSE Uploaded new version stuff for release Sep 4, 2019
README.md Update plugin readme Feb 22, 2020
pubspec.lock Fix: Fix flutter versioning too high Feb 22, 2020
pubspec.yaml Fix: Fix flutter versioning too high Feb 22, 2020
pushe.iml Init commit Jul 30, 2019

README.md

Pushe flutter

A plugin to use Pushe sdk in Flutter framework.

Installation

Add the plugin to pubspec.yaml:

dependencies:
  pushe_flutter: 2.1.0
  • 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

You can’t perform that action at this time.