-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No user creation #7
Comments
Patched:
And in firetore_database.dart:
And in user_model.dart: UserModel( Map<String, dynamic> toMap() { Apart from this - great template !!! |
Hi @psimondk , Thanks for the info. Been cought up with project work. Yes, we need to capture the user into Firebase. Thanks for the sharing of tips - yup, adding the UserModel and the services will resolve the issue. 👍 |
run using flutter run --flavor dev -t lib/main.dart
Updated:
Used the instructions and inserted the following in register_screen in order to patch the app so that user creation actually lead to a user record in the database. Alas it throws the dreaded "Error: Could not find the correct provider ..." - So what is the deal with register_screen?
FirestoreDatabase firestoreDatabase = Provider.of<FirestoreDatabase>(context);
The text was updated successfully, but these errors were encountered: