This plugin provides the ability to generate and retrieve application key hashes from signatures.
cordova plugin add cordova-plugin-key-hash
var successCallback = function(keyHashes) {
console.log(keyHashes) // ['NoeLNrq33NiEm2sfQRTnS+clCx4=']
}
var errorCallback = function(err) {
window.alert(err)
}
window.plugins.getKeyHashes(successCallback, errorCallback)
- Android
You can find example an example app inside the example/
folder. You can run auto tests tapping on the Run tests
button in the app.
Example app | Auto tests |
---|---|
This project is MIT-licensed