Updated readme

This commit is contained in:
info4shajeer@gmail.com 2018-07-12 20:16:39 +05:30
parent 4dc4bd97a6
commit 8ec7eebe1b
3 changed files with 3 additions and 4 deletions

View File

@ -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",

View File

@ -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" />

View File

@ -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