0.0.3 • Published 6 years ago

voricles-plugin-rooted v0.0.3

Weekly downloads
13
License
-
Repository
-
Last release
6 years ago

Voricles Plugin Rooted

This plugin is used to detect rooted devices on Android platorm. https://www.npmjs.com/package/voricles-plugin-rooted

Add Plugin

cordova plugin add voricles-plugin-rooted

Usage in cordova project

Rooted.isSuperSu(successCallback, failureCallback)

successCallback(result:boolean) is executed upon successfull root dectection and return true if the device is rooted or false if the device is not rooted.

failureCallback(error:string) is executed whenever an error occurs while trying to dectect if the device is rooted. This callback function returns a value of type string

##Ionic 2/3/4 example usage You can call this method immediately after platform is ready

Test

ionic cordova build [ios / android]

Supported platforms

  • Android

Reporting issues

Please report an issue to vooriko@gmail.com with a clear description of your dev environment.

License

Apache version 2.0

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago