Detect simulated location [Cordova]

I want to detect simulated location, I’ve tried on iOS to use isSimulatedBySoftware flag from CLLocationSourceInformation, but It didn’t gave me a stable result while using apps like:

  • PoKeep
  • iMyFone AnyTo

I’m really looking for a solution for this so any help will be appreciated,

also to keep you know, “iMyFone AnyTo” require developer mode on iPhone to be on to be able to use it, so also if any one know how to detect and close developer mode [And it’s ok in App Store to release the app] please let me know

Kindly if anyone know a way out of this problem

I made a plugin to detect it please try it and tell me if it work for you GitHub - Cap-go/capacitor-mock-location-detector: Capacitor plugin for detecting simulated GPS locations and developer tooling that enables spoofing apps. · GitHub