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

Usage of deprecated SafetyNet Attestation API #65

Open
yahia-allam opened this issue Mar 28, 2024 · 2 comments
Open

Usage of deprecated SafetyNet Attestation API #65

yahia-allam opened this issue Mar 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@yahia-allam
Copy link

Describe the bug?

The Play Store is reporting that SafetyNet Attestation API is deprecated and soon will be shut down.
Our app is getting the following warning in the screenshot, because of the dependency com.google.android.gms:play-services-safetynet:18.0.1. Which is a dependency of com.okta.devices:devices-push:1.1.0

Screenshot 2024-03-28 at 11 31 26

What is expected to happen?

To use non-deprecated API

What is the actual behavior?

Usage of a deprecated API

Reproduction Steps?

Using latest version of the library com.okta.devices:devices-push:1.1.0

Additional Information?

No response

SDK Version and Artifact(s) used.

SDK Version 1.1.0

Build Information

No response

@yahia-allam yahia-allam added the bug Something isn't working label Mar 28, 2024
@HansReich
Copy link

Thank you for flagging this to us. Push SDK does not actually use safetynet so production will not be impacted by this even after deprecation. We understand getting flagged for it is annoying and may have Play Store implications for updates, however, so will look into this. The library was pulled in by a shared dependency with another feature outside of Push.

@FeiChen-okta
Copy link
Contributor

@yahia-allam We'll remove it from the devices-push library . In the meantime you can remove it with:

    implementation("com.okta.devices:devices-push:1.1.0") {
        exclude(group = "com.google.android.gms", module = "play-services-safetynet")
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants