android / identity-samples

Multiple samples showing the best practices in identity on Android.
Apache License 2.0
322 stars 198 forks source link

On Android 7 getCredentialAsync only shows the UI once after that it never show it for PasswordOption #83

Open mitulbharatchandra opened 1 month ago

mitulbharatchandra commented 1 month ago

On Android 7 getCredentialAsync only shows the UI once after that it never show it. On Android 12 it is working fine.

I am trying for PasswordOption

classpath 'com.google.gms:google-services:4.4.1'

implementation 'androidx.credentials:credentials-play-services-auth:1.3.0-alpha04' implementation 'androidx.credentials:credentials:1.3.0-alpha04'

This are the logs

                       onActivityCreated HiddenActivity

22:53:08.395 D onActivityStarted HiddenActivity 22:53:08.400 D onActivityResumed HiddenActivity 22:53:08.473 D eglMakeCurrent: 0x86e15f00: ver 2 0 (tinfo 0x872d7b60) 22:53:08.505 D eglMakeCurrent: 0x86e15f00: ver 2 0 (tinfo 0x872d7b60) 22:53:08.526 D eglMakeCurrent: 0x86e15f00: ver 2 0 (tinfo 0x872d7b60) 22:53:08.545 D eglMakeCurrent: 0x86e15f00: ver 2 0 (tinfo 0x872d7b60) 22:53:08.568 W finishComposingText on inactive InputConnection 22:53:08.574 D onActivityPaused HiddenActivity 22:53:08.596 D onActivityResumed LoginActivity 22:53:08.646 D onActivityStopped HiddenActivity 22:53:08.647 D onActivityDestroyed HiddenActivity

Thank you....

niharika2810 commented 1 month ago

Thanks for sharing, would you mind creating a bug with all details required in that template? Sharing here : https://issuetracker.google.com/issues/new?component=1301097&template=1773864