Skip to content

jimmyliao/cordova-plugin-device-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jailbreak/Root Detection Plugin for Apache Cordova

Install

Locally

cordova plugin add https://github.com/jimmyliao/cordova-plugin-device-detection.git

Usage

isRoot

window.plugins.deviceDetection.isRoot(onSuccess, onFail);
  • => successCallback is called with true if the device is Rooted, otherwise false
  • => failureCallback is called if there was an error determining if the device is Rooted

isJailbroken

window.plugins.deviceDetection.isJailBreak(onSuccess, onFail);
  • => successCallback is called with true if the device is Jailbroken, otherwise false
  • => failureCallback is called if there was an error determining if the device is Jailbroken

Platform Support

Android.

iOS is deriving from https://github.com/leecrossley/cordova-plugin-jailbreak-detection.

License

MIT License

About

Device Jailbreak/Root Detection Plugin for Apache Cordova

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published