Table of Contents
A lightweight library to check if person is faking their place or utilizing a mocklocation to idiot your apps.
Dependency
implementation 'io.github.kamaravichow:mockcheck:Latest ????????
Use
You can just contact isMockedLocation system to get a boolean reaction of mock status
if (MockCheck(context).isMockedLocation)
// person is faking their locale
Highly developed Utilization Documentation
FAQ
What is MockLocation ?
Each iOS and Android established MockedLocation as a developer attribute several years ago. This allowed developers to exam locale-aware features on their apps and was only enabled employing express settings on developer-manner or the simulator. But a few consumers may well use this aspect for their gain, it’s possible for unlocking location dependent stuff. This is the place this library allows you
License
Copyright 2022 Aravind Chowdary (@kamaravichow)
Accredited under the Apache License, Version 2. (the “License”) you may possibly not use this file other than in compliance with the License. You may perhaps receive a duplicate of the License at
http://www.apache.org/licenses/LICENSE-2.
Unless of course needed by relevant law or agreed to in crafting, program distributed underneath the License is dispersed on an “AS IS” Foundation, With no WARRANTIES OR Conditions OF ANY Sort, possibly categorical or implied. See the License for the particular language governing permissions and restrictions below the License.