@periksa/cap-mock-detector
v0.1.4
Published
Detecting mock provider when fetching location (for Android).
Downloads
20
Readme
mock-detector
Detect mock provider location using android's native isMock()
method.
Returns state wether device is using mock location and current location.
Install
npm install @periksa/cap-mock-detector
npx cap sync
API
detectMock()
detectMock() => Promise<any>
Returns: Promise<any>