1.0.0 • Published 6 years ago

cordova-plugin-fakelocation v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

cordova-plugin-fakelocations

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

Supported Platforms

  • Android

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);
});