background_tracker 0.0.1 copy "background_tracker: ^0.0.1" to clipboard
background_tracker: ^0.0.1 copied to clipboard

discontinued

A Flutter piece of code for executiong geolocation in background firing a callback with dar async timer.

background_tracker #

background_tracker

A Android Flutter package that uses Geolocator, Isolates, SendPorts and Dart Async to achieve backgrounded application tracking without throwing Asynchronous Suspension Exceptions.

Getting Started #

Installation #

dependencies: background_tracker: 0.0.1

Example #

Tracker myTracker = Tracker(); // Instantiate the Tracker
myTracker.config(
    duration: Duration(seconds: 10), //Default 7 seconds
    endpoint: "https://myTrackingApi.example.com/v1/receiveTrack, 
    prefsKey: "userId", //Default "id"
    bearer: "L8qq9PZyRg6ieKGEKhZolGC0vJWLw8iEJ88DRdyOg"
); // At least endpoint is required. 

Enjoy it #

$ (flutter) Fetch My Location is running in Background...

Github #

[http://github.com/Thrashattack]

This project is a sample implementation point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

0
likes
30
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter piece of code for executiong geolocation in background firing a callback with dar async timer.

License

MIT (license)

Dependencies

flutter, geolocator, http, shared_preferences, wakelock

More

Packages that depend on background_tracker

Packages that implement background_tracker