I'm developing my first app using firebase. I've run into some problems with the login.
Basically, what I've got so far:
- Users can login with their google account
- Users can login anonymously
- User data is stored in firebase real time database using the UID from firebase authentication as unique key
My problem
When a user uses the app for the first time, they don't have an account yet and if they have no internet connection, they won't be able to create one (at least I think so).
My question
What is the best way to handle this? Is there a possibility to get a unique key without internet connection? Should I ask the user to create a internet connection? Other possibilities?