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