cordova-plugin-key-hash

0.1.0 • Public • Published

Key Hash for Cordova

Build Status

This plugin provides the ability to generate and retrieve application key hashes from signatures.

Installation

cordova plugin add cordova-plugin-key-hash

Usage

var successCallback = function(keyHashes) {
    console.log(keyHashes) // ['NoeLNrq33NiEm2sfQRTnS+clCx4=']
}
var errorCallback = function(err) {
    window.alert(err)
}
 
window.plugins.getKeyHashes(successCallback, errorCallback)

Supported platforms

  • Android

Example app and tests

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
android-example-1 android-example-2

License

This project is MIT-licensed

Dependencies (0)

    Dev Dependencies (11)

    Package Sidebar

    Install

    npm i cordova-plugin-key-hash

    Weekly Downloads

    8

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    11.4 MB

    Total Files

    68

    Last publish

    Collaborators

    • adigiovanni