aerogear / offix-android

Apollo GraphQL offline extensions for Android Platform
https://android.offix.dev
Apache License 2.0
37 stars 16 forks source link

Design a roadmap for adding support for database in offix library. #170

Open Lavanyagaur22 opened 4 years ago

Lavanyagaur22 commented 4 years ago

Feature Request

To support offline mutations even when the app is closed, the mutation requests have to be persisted in a database. Refer to #159 for detailed information.

You need to design a roadmap (flowchart/structure) for the same describing how you are planning to do that, what will be the structure of your database (SQLite/room or any other), how you are going to serialize the mutation requests, any extra files you would be making to implement this feature and so on. You can make it using draw.io or any other similar tool.

xatuke commented 4 years ago

Okay, I guess room will work :+1:

harshithdwivedi commented 4 years ago

Unfortunately we can't use any third party dependency 😅 Using Firebase will force people to use Google Play Service which is something that we don't want to do.

xatuke commented 4 years ago

Is the task for this not yet made or are the instances exhausted?

wtrocki commented 4 years ago

We have that supported for projects done on Android platform by using serialization

Lavanyagaur22 commented 4 years ago

Is the task for this not yet made or are the instances exhausted?

The task is made, but actually not published yet. @crowded-geek You can start working on this issue. The task for this will be visible on the dashboard soon and then you can claim it.

xatuke commented 4 years ago

Okay, :)