flutter_background_geolocation 0.1.2 copy "flutter_background_geolocation: ^0.1.2" to clipboard
flutter_background_geolocation: ^0.1.2 copied to clipboard

outdated

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:shared_preferences/shared_preferences.dart';

import 'src/app.dart';
import 'src/advanced/app.dart';
import 'src/hello_world/app.dart';

void main() async {

  final SharedPreferences prefs = await SharedPreferences.getInstance();
  String appName = prefs.getString("app");

  Widget app;

  switch(appName) {
    case AdvancedApp.NAME:
      app = new AdvancedApp();
      break;
    case HelloWorldApp.NAME:
      app = new HelloWorldApp();
      break;
    default:
      app = HomeApp();
      break;
  }
  runApp(app);
}
763
likes
0
pub points
97%
popularity

Publisher

verified publishertransistorsoft.com

The most sophisticated background location-tracking & geofencing module with battery-conscious motion-detection intelligence for iOS and Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

device_info, flutter

More

Packages that depend on flutter_background_geolocation