cordova-plugin-fakelocation

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i cordova-plugin-fakelocation

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.61 kB

Total Files

5

Last publish

Collaborators

  • ucswift