From 4dc4bd97a6541e772fb5f4ba9773a399ac0c4e5f Mon Sep 17 00:00:00 2001 From: "info4shajeer@gmail.com" Date: Thu, 12 Jul 2018 20:15:16 +0530 Subject: [PATCH] Updated readme --- readme.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/readme.md b/readme.md index ae15183..c7358fa 100644 --- a/readme.md +++ b/readme.md @@ -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