cordova-plugin-developer-mode-check
v1.0.7
Published
Cordova plugin for iOS to check if developer mode is enabled
Maintainers
Readme
cordova-plugin-developer-mode-check (iOS via SecCode)
This build avoids SecTask.h entirely by querying entitlements with SecCodeCopySelf + SecCodeCopySigningInformation and reading kSecCodeInfoEntitlementsDict.
Signals considered:
- Simulator
- Debugger attached (P_TRACED)
get-task-allowentitlement (development builds)DYLD_INSERT_LIBRARIESpresent
iOS does not expose a public API to read Settings → Developer Mode toggle. These are practical indicators.
Install
cordova plugin add /path/to/cordova-plugin-developer-mode-checkUse
cordova.plugins.developerModeCheck.isEnabled(function(enabled){
if (enabled) { /* block sensitive action */ }
});