Updated readme

This commit is contained in:
info4shajeer@gmail.com
2018-07-12 20:15:16 +05:30
parent 8deb16fe7a
commit 4dc4bd97a6
+5 -9
View File
@@ -23,17 +23,13 @@ You can read more about it on [Android official website](https://source.android.
```javascript ```javascript
cordova.exec(function success(rootStatus){
cordova.exec(function success(signature){
if(rootStatus){ //Check signature
//Device is rooted, handle the case
} else {
//Device is not rooted, proceed to the app
}
}, function failure(error){ }, function failure(error){
alert("Something went wrong"); //alert("Something went wrong");
}, "ReadAppSignature", "getAppSignature", []); }, "ReadAppSignature", "getAppSignature", []);
``` ```
## License ## License