FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Show internet required dialog in case of no internet connection

Open peterhav opened this issue 10 years ago • 3 comments

Using 0.4.4 of this library (and earlier), when starting the Sign In intent without internet, the behavior is as follows:

For a mail sign in: after clicking next on adding the user mail, nothing happens For Google sign in: after clicking the sign in button nothing happens

I would propose to show a 'internet connection required' dialog at the moment the Sign In intent is started without having an internet connection available.

peterhav avatar Aug 07 '16 11:08 peterhav

@peterhav this is a good idea. It's worth considering if FirebaseUI should show a dialog or if it should return an error code to the calling app and allow that app to decide on error UI.

samtstern avatar Aug 08 '16 15:08 samtstern

I would prefer an error messages, that way you can customize your response to the error.

victorgilalejandria avatar Aug 08 '16 16:08 victorgilalejandria

I need this function, too!

hijamoya avatar Aug 11 '16 06:08 hijamoya