Skip to content

Plugin Flutter for PushLink - Android Enterprise App Management

License

Notifications You must be signed in to change notification settings

diogo-bruno/flutter-push-link

Repository files navigation



Flutter PushLink SDK

pub package CircleCI Status Supports Android

Docs

https://docs.pushlink.com/


Installation

  • Add this to your package's pubspec.yaml file:
dependencies:
  flutter_push_link: ^0.0.1

and

  • Download dependencies
flutter pub get

and

  • Create or Edit file .env api Key
PUSH_LINK_API_KEY=your-api-key

Running Project

cd ./example && flutter run -d 'DeviceName or Id' -t lib/main.dart

Prepare Project Android Native

flutter pub run flutter_push_link:prepare

Publish APK PushLink

  • Required .env [PUSH_LINK_API_KEY=your-api-key] in project root
flutter pub run flutter_push_link:publish.apk

Download APK PushLink

  • Required .env [PUSH_LINK_API_KEY=your-api-key] in project root
flutter pub run flutter_push_link:download.apk

Example project

Example Project Flutter - PushLink

Usage

import 'package:flutter_push_link/flutter_push_link.dart';

...

String deviceId = await FlutterPushLink.deviceId().catchError(onError);

bool started = await FlutterPushLink.startPushLink(DotEnv.env['PUSH_LINK_API_KEY'], deviceId).catchError(onError);

Open file Application: main.dart


Troubleshooting

  • Use adb logcat | grep PUSHLINK to check what's going on. If you can't solve the problem by yourself, please contact the support.

Help & Support

Always feel free to drop a line to support at pushlink dot com or visit our support.

Users are always welcome to contribute with issues and pull requests

About

Plugin Flutter for PushLink - Android Enterprise App Management

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published