firebase / FirebaseUI-Android

Optimized UI components for Firebase
https://firebaseopensource.com/projects/firebase/firebaseui-android/
Apache License 2.0
4.63k stars 1.83k forks source link

Still show dialog about "won't run without Google Play Services" when device has not GSM using 7.1 #1871

Closed yunxiuGona closed 3 years ago

yunxiuGona commented 3 years ago

when i using sdk 7.1 there still show dialog as below

in gradle: implementation platform('com.google.firebase:firebase-bom:26.0.0') implementation 'com.google.firebase:firebase-core' implementation 'com.google.firebase:firebase-firestore' implementation 'com.google.firebase:firebase-storage' implementation 'com.google.firebase:firebase-auth' implementation 'com.google.firebase:firebase-messaging' implementation 'com.firebaseui:firebase-ui-auth:7.1.0'

incode: AuthUI.getInstance() .createSignInIntentBuilder() .setAvailableProviders(listOf( AuthUI.IdpConfig.EmailBuilder().build())) .build(),

but i got a dialog like this whithout GSM on device device-2020-11-21-161628

wangjiejacques commented 3 years ago

You need to disable the SmartLock by setIsSmartLockEnabled(false)

samtstern commented 3 years ago

Thanks for following up! Very glad to know it worked.

On Sat, Nov 21, 2020 at 1:10 PM YunxiuWang notifications@github.com wrote:

Closed #1871 https://github.com/firebase/FirebaseUI-Android/issues/1871.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/firebase/FirebaseUI-Android/issues/1871#event-4023839458, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACATB2TQVYAZZAE2DOXFKVDSQ634TANCNFSM4T5UTBJQ .