The Android Arsenal – Location

[ad_1]

A light-weight library to test if consumer is faking their location or utilizing a mocklocation to idiot your apps.

Dependency

implementation 'io.github.kamaravichow:mockcheck:LATEST ????????

Newest model :

Utilization

You’ll be able to simply name isMockedLocation technique to get a boolean response of mock standing

if (MockCheck(context).isMockedLocation){
       // consumer is faking their location
}

Superior Utilization Documentation

FAQ

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

License

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

   http://www.apache.org/licenses/LICENSE-2.0

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.

[ad_2]

Source_link

Leave a Reply

Your email address will not be published.