cordova-plugin-developer-mode-check-alt
v1.0.1
Published
Cordova plugin for iOS to check if developer mode is enabled
Maintainers
Readme
cordova-plugin-developer-mode-check-alt
No Security.framework dependency. Uses practical indicators:
- Simulator
- Debugger (P_TRACED via sysctl)
DYLD_INSERT_LIBRARIESembedded.mobileprovisionpresence &<key>get-task-allow</key>- App Store receipt status (
sandbox/production/missing)
Optional GPS spoof detection (iOS 15+):
CLLocation.sourceInformation.isSimulatedBySoftware
Install
cordova plugin add /path/to/cordova-plugin-developer-mode-check-alt
# or with Capacitor: npx cap sync iosJS API
cordova.plugins.developerModeCheck.getIndicators((info) => {
console.log(info);
if (info.any) { /* block sensitive action */ }
});
// Boolean back-compat
cordova.plugins.developerModeCheck.isEnabled((enabled)=>{}, console.error);
// Optional (iOS 15+):
cordova.plugins.developerModeCheck.isLocationSimulated((sim)=>{}, console.error);Notes
- There is NO public API to read Settings → Developer Mode directly.
- These signals are practical heuristics for dev/test environments.
