Open yahia-allam opened 5 months ago
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.
@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")
}
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 ofcom.okta.devices:devices-push:1.1.0
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