# How can I avoid mockup location on android with angular lib

**URL:** <https://forum.ionicframework.com/t/how-can-i-avoid-mockup-location-on-android-with-angular-lib/203192>\
**Category:** Ionic Framework\
**Created:** [January 20, 2021, 11:38am UTC](https://forum.ionicframework.com/t/how-can-i-avoid-mockup-location-on-android-with-angular-lib/203192 "2021-01-20T11:38:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![renmadigi](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@renmadigi](https://forum.ionicframework.com/u/renmadigi)\
**Post date:** [January 20, 2021, 11:38am UTC](https://forum.ionicframework.com/t/how-can-i-avoid-mockup-location-on-android-with-angular-lib/203192/1 "2021-01-20T11:38:27Z")

</div>

Hi community

> **[diegorribeiro/cordova-plugin-mock-location-checker](https://github.com/diegorribeiro/cordova-plugin-mock-location-checker)**
>
> This is a cordova plugin to check enabled\\disabled GPS imitations in android settings.

I got this library but I don’t know how to use this in Ionic project with angular.  
Please teach me to use this plugin on my project, I get stuck on this plugin for many hours.

Thank you
