A light-weight library to test if consumer is faking their location or utilizing a mocklocation to idiot your apps.
implementation 'io.github.kamaravichow:mockcheck:LATEST ????????
You’ll be able to simply name isMockedLocation technique to get a boolean response of mock standing
// consumer is faking their location
What’s MockLocation ?
Each iOS and Android created MockedLocation as a developer function years in the past. This allowed builders to check location-aware options on their apps and was solely enabled utilizing specific settings on developer-mode or the simulator. However a number of customers would possibly use this function for his or her benefit, possibly for unlocking location primarily based stuff. That is the place this library helps you
Copyright 2022 Aravind Chowdary (@kamaravichow)
Licensed underneath the Apache License, Model 2.0 (the “License”); it’s possible you’ll not use this file besides in compliance with the License. You might receive a duplicate of the License at
Until required by relevant regulation or agreed to in writing, software program distributed underneath the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, both specific or implied. See the License for the precise language governing permissions and limitations underneath the License.