[GH-ISSUE #4687] [Mobile][FR] support customizing local storage #2100

Closed
opened 2026-03-23 21:19:42 +00:00 by mirror · 5 comments
Owner

Originally created by @annieappflowy on GitHub (Feb 20, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4687

Description

Really great work but when I close the app and re-open app I have to login again just use shared-Preferences package or other package for store user data in locally and add some logic and done Really great work 👍

Impact

mobile users who prefer to store their data locally

Additional Context

No response

Originally created by @annieappflowy on GitHub (Feb 20, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4687 ### Description Really great work but when I close the app and re-open app I have to login again just use shared-Preferences package or other package for store user data in locally and add some logic and done ✅ Really great work 👍 ### Impact mobile users who prefer to store their data locally ### Additional Context _No response_
mirror 2026-03-23 21:19:42 +00:00
Author
Owner

@alceil commented on GitHub (Mar 15, 2024):

Can I work on this? @annieappflowy @LucasXu0

<!-- gh-comment-id:1999044833 --> @alceil commented on GitHub (Mar 15, 2024): Can I work on this? @annieappflowy @LucasXu0
Author
Owner

@LucasXu0 commented on GitHub (Apr 3, 2024):

@alceil Sorry for the delayed response. Could you share your thoughts on how to implement this?

<!-- gh-comment-id:2033648299 --> @LucasXu0 commented on GitHub (Apr 3, 2024): @alceil Sorry for the delayed response. Could you share your thoughts on how to implement this?
Author
Owner

@alceil commented on GitHub (Apr 4, 2024):

I will use DartKeyValue service class to store isloggedin key which we set true while logging in and add it as a key value pair in shared preference and use it to check whether the user is logged in or not.And use it to check if its authenticated and decide whether to show login screen or not @LucasXu0

<!-- gh-comment-id:2036151656 --> @alceil commented on GitHub (Apr 4, 2024): I will use DartKeyValue service class to store isloggedin key which we set true while logging in and add it as a key value pair in shared preference and use it to check whether the user is logged in or not.And use it to check if its authenticated and decide whether to show login screen or not @LucasXu0
Author
Owner

@LucasXu0 commented on GitHub (Apr 4, 2024):

@alceil We have stored user data locally using KeyValueStorage. I believed this feature request was to enable users to customize their own local file storage.

<!-- gh-comment-id:2036175049 --> @LucasXu0 commented on GitHub (Apr 4, 2024): @alceil We have stored user data locally using KeyValueStorage. I believed this feature request was to enable users to customize their own local file storage.
Author
Owner

@alceil commented on GitHub (Apr 4, 2024):

@LucasXu0 I believe this feature request lets the user decide whether to store their data locally or not. If yes we can add a toggle in settings page whether they wish to store data locally if yes fetch from sharedpreference and help them login. Can you still confirm this is the usecase intended? @annieappflowy or to use local storage to store if authenticated or not then show them the screen accordingly?

<!-- gh-comment-id:2036187239 --> @alceil commented on GitHub (Apr 4, 2024): @LucasXu0 I believe this feature request lets the user decide whether to store their data locally or not. If yes we can add a toggle in settings page whether they wish to store data locally if yes fetch from sharedpreference and help them login. Can you still confirm this is the usecase intended? @annieappflowy or to use local storage to store if authenticated or not then show them the screen accordingly?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2100
No description provided.