mirror of
https://github.com/wanxf-shuto/CordovaReadApplicationSignature.git
synced 2026-04-29 00:00:02 +08:00
Updated readme
This commit is contained in:
@@ -23,17 +23,13 @@ You can read more about it on [Android official website](https://source.android.
|
||||
|
||||
```javascript
|
||||
|
||||
cordova.exec(function success(rootStatus){
|
||||
|
||||
if(rootStatus){
|
||||
//Device is rooted, handle the case
|
||||
} else {
|
||||
//Device is not rooted, proceed to the app
|
||||
}
|
||||
|
||||
|
||||
cordova.exec(function success(signature){
|
||||
//Check signature
|
||||
}, function failure(error){
|
||||
alert("Something went wrong");
|
||||
//alert("Something went wrong");
|
||||
}, "ReadAppSignature", "getAppSignature", []);
|
||||
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Reference in New Issue
Block a user