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

Integrate Local database (SQLite) for offline support #10

Open
6 tasks
hasancse91 opened this issue Oct 15, 2021 · 8 comments
Open
6 tasks

Integrate Local database (SQLite) for offline support #10

hasancse91 opened this issue Oct 15, 2021 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@hasancse91
Copy link
Owner

hasancse91 commented Oct 15, 2021

  • Use floor package
  • Store all API response in local DB (Inside remote data source, we have to call local data source to store the data)
  • When controller call to repository for data, repository will check it first at local data source. If available simply return it and then call to remote data source. When remote data source get response from server, it should update local data source.
  • In offline mode user can see the previous stored data
  • Make a favorite icon in repository list item. This favorite data will store in local db.
  • All favorite repositories will be shown in Favorite page (middle of the bottom tab)
@hasancse91 hasancse91 added the enhancement New feature or request label Oct 15, 2021
@jitenders859
Copy link

Hello, I am eagerly waiting for these functionalities to be added to flutter_getx_template. Can anyone tell when this will be implemented?

@hasibul-hasan-shuvo
Copy link
Collaborator

Hello, I am eagerly waiting for these functionalities to be added to flutter_getx_template. Can anyone tell when this will be implemented?

Ing Sha Allah you will get it within next week.

@jitenders859
Copy link

@Shuvo1260 Please let me know if you are working on this. also I can help with implementing sqlite in the architecture.

@shafayathossain
Copy link
Collaborator

@jitenders859 You're welcome to contribute here. You can clone, develop and create a PR. We will review and merge it.

@jitenders859
Copy link

@shafayathossain Sure will clone and try to contribute.

@jitenders859
Copy link

@shafayathossain can I use hive instead of sqlite

@hasancse91
Copy link
Owner Author

We want to implement floor package here. Shuvo is working on it.

@vankhoa01
Copy link

Thank you @hasancse91 for very good template :)
I'm not sure whether local database was implemented by Shuvo ?

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

No branches or pull requests

5 participants