Skip to content

diogo-bruno/flutter-push-link-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example - Plugin Flutter PushLink





ScreenShot Example Application


Test project

git clone https://github.com/diogo-bruno/flutter-push-link-example.git
cd flutter-push-link-example
flutter pub get
flutter pub run flutter_push_link:prepare
flutter run -d 'DeviceName or Id' -t lib/main.dart

Usage code example

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


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published