Hi,
I would like to know, if you can also detect mock location?
Does it support Android and IOS?
Thanks
Markus
currently this plugin does't support mock location, but for timebeing you can add a method to it. as it uses fused location API so it has a method to detect whether it is from mock location or not.
Note: It only supports device >= Lollipop
I am also looking for the isMocked location
it will be great to add isMocked bool to LocationData
I came across this problem just the other day while completing module 13 Clima of Angela Yu's "The Complete Flutter Development Bootcamp Using Dart" (a Google recommended codelab). She explains how the emulators in iOS and Android can be used to get a "custom location" (aka mock location?). I didn't pay much attention to that part as I'm only using Flutter for web development. The exact part of the lesson on custom locations starts around minute 7:56, in the "Refactoring the Location Method" under Section 13 (Clima) of the Bootcamp class.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
I am also looking for the isMocked location
it will be great to add isMocked bool to LocationData