Open gourgouris opened 5 months ago
Did you implemented the Credential Manager API?
Hi @Tkko @gourgouris i am ready to take up this issue but before starting i want some more info about that with the latest version we get something known as GetPhoneNumberHintIntentRequest.builder()
which is completely different from the previous versions, whats you take on this ? Like i want to know your views on this
Edit i am taking about this version implementation 'com.google.android.gms:play-services-auth:21.2.0'
Describe the bug I can't compile my (android) app in release mode after upgrading google_sign_in_android to 6.1.22. I get errors (10+) like:
[ +1 ms] Missing class com.google.android.gms.auth.api.credentials.CredentialPickerConfig$Builder (referenced from: void fman.ge.smart_auth.SmartAuthPlugin.requestHint(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result))
To Reproduce Steps to reproduce the behavior:
Screenshots N/A
smart_auth version: 2.0.0
Result of:
flutter doctor --verbose
Smartphone (please complete the following information):
Additional context So, going through the release notes,
google_sign_in_android
says they upgradedplay-services-auth
to21.0.0
(url) The release notes ofplay-services-auth
say that there is a major breaking change: they removedCredentials API
! (https://developers.google.com/android/guides/releases#february_15_2024) Thesettings.gradle
of this plugin I see it depends onplay-services-auth 20.7.0
(https://github.com/Tkko/flutter_smart_auth/blob/be97b1bcfb3169d90ab5792393afea574d964630/android/build.gradle#L56)I guess 21 is preferred over 20.7 during compilation, so no wonder why those classes mentioned in the error log can not be found.
This is why I think this is worthy of a bug report for smart_auth: can you please support the new
Credential Manager API
?