tomloprod / cordova-plugin-fakelocation

FakeLocation is a cordova plugin to check if "Allow mock locations" are enabled or disabled in android devices.
MIT License
5 stars 13 forks source link

how can use it in ionic 4 #3

Closed omaraljmaily closed 5 years ago

omaraljmaily commented 5 years ago

how can I use this code window.plugins.fakeLocation.check(function(IsEnabledMockLocations){ console.log(IsEnabledMockLocations); });

in ionic 4 ???