mirror of
https://github.com/wanxf-shuto/CordovaReadApplicationSignature.git
synced 2024-10-05 15:25:53 +08:00
Updated readme
This commit is contained in:
parent
4dc4bd97a6
commit
8ec7eebe1b
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cordova-plugin-get-app-signature",
|
||||
"version": "0.1.1",
|
||||
"version": "0.1.2",
|
||||
"description": "This plugin is used to get application signature",
|
||||
"cordova": {
|
||||
"id": "cordova-plugin-get-app-signature",
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-get-app-signature" version="0.1.1">
|
||||
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-get-app-signature" version="0.1.2">
|
||||
<name>ReadAppSignature</name>
|
||||
<js-module name="ReadAppSignature" src="www/ReadAppSignature.js">
|
||||
<clobbers target="cordova.plugins.ReadAppSignature" />
|
||||
|
@ -17,12 +17,11 @@ You can read more about it on [Android official website](https://source.android.
|
||||
|
||||
## Tampering Prevention Techniques
|
||||
|
||||
Signature verification is one of the method to prevent apk tampering, you need to find the signature key and that key you need to validate from server when the application opens, get the key for the first time and pass it to your server guy, let him store it in his server and each time when the app opens he will have to validate the key, if the key is not matching the app has been tampered, in that case you can block the user from accessing the application,
|
||||
> Signature verification is one of the method to prevent apk tampering, you need to find the signature key and that key you need to validate from server when the application opens, get the key for the first time and pass it to your server guy, let him store it in his server and each time when the app opens he will have to validate the key, if the key is not matching the app has been tampered, in that case you can block the user from accessing the application,
|
||||
|
||||
## Usage
|
||||
|
||||
```javascript
|
||||
|
||||
|
||||
cordova.exec(function success(signature){
|
||||
//Check signature
|
||||
|
Loading…
Reference in New Issue
Block a user