We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the basic example from the repo, sendAndVerifyAttestation method returns an error.
Version Detail:
"react": "16.8.6", "react-native": "0.60.5", "react-native-google-safetynet": "^1.0.0"
Here is my code:
SafetyNet.isPlayServicesAvailable() .then(result => { if (result === true) { return SafetyNet.generateNonce(24) } throw new Error('play services not available.'); }) .then(nonce => { SafetyNet.sendAttestationRequest(nonce, 'APIKEY').then(isRooted => { console.log(isRooted) }).catch(err => console.log('err',err)); }).catch(error => console.log(error));
Error logs:
{ "framesToPop":1, "nativeStackAndroid":[ { "methodName":"fromStatus", "lineNumber":4, "file":null }, { "methodName":"zaf", "lineNumber":2, "file":null }, { "methodName":"onComplete", "lineNumber":6, "file":null }, { "methodName":"zaa", "lineNumber":172, "file":null }, { "methodName":"setResult", "lineNumber":131, "file":null }, { "methodName":"zza", "lineNumber":7, "file":null }, { "methodName":"dispatchTransaction", "lineNumber":155, "file":null }, { "methodName":"onTransact", "lineNumber":22, "file":null }, { "methodName":"execTransactInternal", "lineNumber":1028, "file":"Binder.java" }, { "methodName":"execTransact", "lineNumber":1001, "file":"Binder.java" } ], "userInfo":null, "code":"EUNSPECIFIED" }
The text was updated successfully, but these errors were encountered:
I haven’t tested this on RN 0.60+ so maybe it’s not linking properly as mentioned in #322
Sorry, something went wrong.
Duplicate of #135
rajivshah3
No branches or pull requests
Using the basic example from the repo, sendAndVerifyAttestation method returns an error.
Version Detail:
"react": "16.8.6", "react-native": "0.60.5", "react-native-google-safetynet": "^1.0.0"
Here is my code:
Error logs:
The text was updated successfully, but these errors were encountered: