Skip to content

FakeLocation is a cordova plugin to check if "Allow mock locations" are enabled or disabled in android devices.

License

Notifications You must be signed in to change notification settings

tomloprod/cordova-plugin-fakelocation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-fakelocations License

FakeLocation is a cordova plugin to check if "Allow mock locations" are enabled or disabled in android devices.

Supported Platforms

  • Android < 6.0 (doesn't support Marshmallow yet)

Installation

Cordova:

cordova plugin add https://github.com/tomloprod/cordova-plugin-fakelocation.git

Usage

This plugin exports an object with one method called "check" which returns true or false:

window.plugins.fakeLocation.check(function(IsEnabledMockLocations){
    console.log(IsEnabledMockLocations);
});

About

FakeLocation is a cordova plugin to check if "Allow mock locations" are enabled or disabled in android devices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published