cordova-plugin-android-integrityverdict
v1.0.2
Published
A wrapper plugin for google play integrity verdicts of android devices
Downloads
35
Maintainers
Readme
Cordova Play Integrity API Verdict
A wrapper plugin for play integrity verdicts API on Play Enabled devices.
Installation
Cordova:
cordova plugin add cordova-plugin-android-integrityverdictIonic:
ionic cordova plugin add cordova-plugin-android-integrityverdictUsage and Google Play Integrity API guide
TBA
Steps for Play Integrity API configuration
https://developer.android.com/google/play/integrity/setup
Syntax for Attestation
A nonce security token from server side, is also required. Detail requirements of the nonce are provided in above doc.
window.integrityverdict.attest(nonce, successCallback ,errorCallback);This method requests Play Integrity API request to Google server. And returns IntegrityToken that is need to send your server.
Success Callbacks
Play Integrity API request is successful and it returns the IntegrityToken (String) Server uses this token to verdict the device.
Issues
Post the issues related to this library here . Do provide the device details as below.
- Device name & manufacturer
- Android version
- Google Play version
