forked from appwrite/sdk-for-react-native
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ feat: Extend AppWriteProvider with user refresh and update function…
…ality feat: Extend AppWriteProvider with user refresh and update functionality Refactor sign-in, sign-up, and sign-out to use new helper functions ``` The AppWriteProvider and associated authentication module have been extended to include user refresh and user update functionalities. The `signOut` method now explicitly sets the user state to undefined and authentication status to false upon user sign-out. The `signUp`, `signIn`, and `signOut` methods have been refactored to use new internal helper functions that handle user data refresh post-sign-in/sign-up and ensure the user state is appropriately updated. Additional state variables have been introduced to track the refreshing status of user data. The type definition for the AppWrite configuration object has been updated for consistent capitalization.
- Loading branch information
Showing
2 changed files
with
49 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters