Remove propietary dependency
Checklist
- [x] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
- [x] I have looked into the API documentation and have not found a suitable solution or answer.
- [x] I have searched the issues and have not found a suitable solution or answer.
- [x] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- [x] I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved
Currently, the Auth0 Android library depends on proprietary component https://github.com/auth0/Auth0.Android/blob/fde302b9f5437d6c2e05ef6410d2891348c19baf/auth0/build.gradle#L117
This dependency pulls in Google Play Services proprietary blobs, which prevents the use of the library in applications that must remain fully open-source and free of proprietary components.
I understand that it may be required for certain sign-in methods. However, I don’t believe it is necessary for simple email–password authentication.
Describe the ideal solution
From my point of view, the simplest solution would be to publish a separate open-source artifact that does not depend on Google Play Services.
Alternatives and current workarounds
I was able to compile the library without this dependency, and it worked fine with simple email–password authentication, but this is not a viable long-term solution.
Additional context
https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-main/credentials/credentials-play-services-auth/build.gradle