Maliffic / firebase_ui

MIT License
45 stars 48 forks source link

Allow anonymous login #25

Open SoftWyer opened 4 years ago

SoftWyer commented 4 years ago

There is a new button for guest login (firebase's Anonymous login).

Fairly straightforward except the button image is an Icon, rather than an asset. Icons will honour the theme sizing but I've had to hardcode a size to match the assets. Incidentally, I'm not sure that the 2x and 3x assets are handled correctly unless there is some magic going on within the theme, if so, then the hardcoding will probably be broken.

This PR also includes the dependency uplift in #23 (which worked fine on Android, yet to test on iOS but there's an initial build error which could be anything and nothing as per usual with iOS :-/ )

SoftWyer commented 4 years ago

Got this working with an iOS build. If you have trouble, then note the comments in this thread for the Facebook flutter plugin.