trust_location 1.0.0
trust_location: ^1.0.0 copied to clipboard
A new Flutter plugin.
trust_location #
A Flutter plugin for detecting the mock location of the Android device.
Installation #
Add trust_location
as a dependency in your pubspec.yaml file
Usage #
import 'package:trust_location/trust_location.dart';
...
String location = await TrustLocation.getLocation;
bool isMockLocation = await TrustLocation.isMockLocation;
...
Credits #
Detecting the mock location: LocationAssistant
Requesting location permission: location_permissions
License #
This open source project, and the license is BSD.