mirror of
https://github.com/wanxf-shuto/CordovaReadApplicationSignature.git
synced 2026-06-05 00:00:35 +08:00
modify 'Usage'
This commit is contained in:
@@ -23,11 +23,11 @@ You can read more about it on [Android official website](https://source.android.
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
|
|
||||||
cordova.exec(function success(signature){
|
cordova.plugins.ReadAppSignature.getAppSignature(function(signature){
|
||||||
//Check signature
|
console.debug("signature: %s", signature);
|
||||||
}, function failure(error){
|
}, function(error){
|
||||||
//alert("Something went wrong");
|
console.debug("signature error: %s", JSON.stringify(error));
|
||||||
}, "ReadAppSignature", "getAppSignature", []);
|
});
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user