You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this function is a stream and returns the user object if logged in or null if logged out
right now I'm trying to make this feature but idk if the appwrite team would like this feature or not.
so far implementing this feature is like hell for me cause it's my first time trying to contribute to an open-source project.
馃帳 Pitch
in firebase, there is this function call onAuthStateChange and it's a stream that returns a user object or null, and it reacts automatically with user login and logout, it helps the dev to maintain the auth state pretty quickly as you just need to listen to the stream once and put the views you want to show when logged in and logged out.
馃憖 Have you spent some time to check if this issue has been raised before?
@mimib00 Hi, thank you for feature request and your interest in contributing. However, rather than this being a part of our SDK this will be better suited as another package that uses Appwrite's SDK to implement this feature. Something like appwrite_auth_kit which uses ChangeNotifier and Inherited Widget to achieve something similar. Do check it out and let us know. Also if you are looking to contribute in our SDKs you should check out our https://github.com/appwrite/sdk-generator repository that's where we develop and generate our SDKs.
馃敄 Feature description
this function is a stream and returns the user object if logged in or null if logged out
right now I'm trying to make this feature but idk if the appwrite team would like this feature or not.
so far implementing this feature is like hell for me cause it's my first time trying to contribute to an open-source project.
馃帳 Pitch
in firebase, there is this function call onAuthStateChange and it's a stream that returns a user object or null, and it reacts automatically with user login and logout, it helps the dev to maintain the auth state pretty quickly as you just need to listen to the stream once and put the views you want to show when logged in and logged out.
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: