Skip to content
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

🚀 Feature: Offline Database Support #67

Open
2 tasks done
hey-nicolasklein opened this issue Jun 15, 2022 · 3 comments
Open
2 tasks done

🚀 Feature: Offline Database Support #67

hey-nicolasklein opened this issue Jun 15, 2022 · 3 comments

Comments

@hey-nicolasklein
Copy link

🔖 Feature description

Hey, I'm currently developing an app that has to be offline first. I know that the Firebase offline functionality is a planned feature for appwrite as a whole. But what are some solutions that could be used right now? The discussion over on the appwrite repo is more focused on appwrite as a service providing such functionality. But which options could be recommended for flutter?

In my research I found some possible solutions. From using the local Shared Preference Storage, to persisting blocs with Bloc Hydrated, to complete solutions like this package over on pub.

Do you have any advice on which way to go? What would be a good architecture wrapping the appwrite sdk to implement offline storage?

🎤 Pitch

I guess my pitch is to implement offline functionality in the flutter appwrite sdk someday. Probably, when appwrite as a whole implements such a feature. But in the meantime here could be a place to promote solutions which work with appwrite until there is an official support.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@lohanidamodar
Copy link
Member

@hey-nicolasklein As long as the package you choose supports remote REST APIs, Appwrite should work with them. Personally I've not tried any of them to let you know the best approach. From what I see the package you linked seems to be most flexible and configurable. If you find the best approach, we would love for your contributions an article, demo project whatever you would like.
Let us know if we can help in any other way.

@Silfalion
Copy link

Funnily enough this post was shared a few days after I saw your issue(was looking for a solution as well):

https://blog.xmartlabs.com/blog/introducing-stock/

Didn't try it myself yet, so can't vouch for it.

@Sun3
Copy link

Sun3 commented Feb 23, 2024

Any updates on the offline syncing? It's a pretty needed features for mobile apps.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants