I’m currently developing an Android application and facing a challenge regarding user authentication. The recommended approach for authentication is via Credential Manager, as the older method using com.google.android.gms:play-services-auth has been deprecated and slated for removal. However, the Credential Manager requires a minimum API level of 34, while I aim to support devices with at least API level 28.
Given this scenario, I’m uncertain about the best course of action. Should I stick with the deprecated API for compatibility with lower API levels, or should I go ahead with the Credential Manager, potentially excluding older devices?
I would appreciate any insights or recommendations on how to proceed in this situation. Thank you!
Andrius is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.