mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
976 B
976 B
IRoot
$ ionic cordova plugin add cordova-plugin-iroot
$ npm install @awesome-cordova-plugins/i-root
Usage Documentation
Plugin Repo: https://github.com/WuglyakBolgoink/cordova-plugin-iroot
Use this plugin to add an extra layer of security for your app by detecting if the device was rooted (on android) or jailbreaked (on iOS).
Supported platforms
- Android
- iOS
Original Plugin Notes
iOS - Postinstall
To avoid errors like
-canOpenURL: failed for URL: "cydia://package/com.example.package" - error: "This app is not allowed to query for scheme cydia"
don’t forget to add "cydia"
in LSApplicationQueriesSchemes
key of info.plist
. Otherwise canOpenURL
will always return false
.
<xxx>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>cydia</string>
</array>
</xxx>