@Flutter + Appwrite: EP-05 - Proper State management & Routing and navigation setup

preview_player
Показать описание
In this episode we update our auth state so that we can initially check if user is logged in during app start and show proper page based on auth state. We also setup user model to convert user json to user and vice versa.

_______________________________________________

** -------------------------------------------------------------------------------- **
Let's get connected
Рекомендации по теме
Комментарии
Автор

Hello from Germany, first of all thank you for the tutorial! I have a problem with the function getAccount(), in line 37 i get the error "A value of type 'Account' can't be assigned to a variable of type 'Response<dynamic>'." I've checked the documentation but i can't find a solution. Any idea? thanks

Sampelmind
Автор

Can you modify the code for this episode because it is not available now (after Flutter updates)?

nofosnofos
Автор

Thanks. Question: I think in _checkIsLoggedIn you should check if _getAccount returns null.

leonvanrijswijk
Автор

Does it mean that appwrite won't run without docker? I installed appwrite with docker but it require extra memory to run...

luchitv
Автор

Can you please update the github repo for this project? It seems it's outdated, there are several differences and missing parts. I'm blocked, routing doesnt work properly I want to figure out why... :( Thanks!

fantabarack
Автор

❤️❤️❤️.. U are amazing, awesome documentation and built and importantly thanks for sharing.
How do you Auth state management using social logins api?

Thanks alot

budbuddee
Автор

Can you show us an example of creating account with OAuth2 Provider? Love your tutorials .

ahmedafridee