Skip to content

RashadSaleh/cordova-check-mock-locations-enabled-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cordova-check-mock-locations-enabled-plugin

A plugin to detect if "Allow Mock Locations" is enabled on Android phones.

Installation:

cordova plugin add https://github.com/RashadSaleh/cordova-check-mock-locations-enabled-plugin.git

How to use:

window.plugins.cml.check(function (enabled) {
  if (enabled) {
    console.log("Mock locations is enabled!");
  } else {
    console.log("Mock locations is disabled!");
  }
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published