Skip to content
New issue

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

Error: PlatformException(Error, NETWORK_ERROR : 7: , null, null) #1

Closed
Flajt opened this issue Nov 21, 2021 · 1 comment
Closed

Error: PlatformException(Error, NETWORK_ERROR : 7: , null, null) #1

Flajt opened this issue Nov 21, 2021 · 1 comment

Comments

@Flajt
Copy link

Flajt commented Nov 21, 2021

Hello everyone,
I'm getting the same error as in the title, even though my device is connected to the internet (I've also gotten my nonce from my server) and I've added the internet permission to both my debug and release Android.xml files. Any idea on what I can do? (I've verified GooglePlayService availability).
The error pops up as soon as I run: SafetynetAttestation.safetyNetAttestationJwt(my-base64-encoded-16bit-nonce).

@Flajt
Copy link
Author

Flajt commented Nov 21, 2021

Apparently, you can't use key restrictions, or else it doesn't work.
See #10 for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant