Offline and bad network queue layer for apps

I was thinking about making an android app work offline or with bad cellular networks.

First idea was using a sqlite instance on the android device to cache data retrieved from strapi backend - and cache crud requests maybe. This would be a custom coded layer ontop of strapi on the client side…
Second and much better idea was to use apollo-client’s apollo-link-queue and strapi’s graphql endpoints to work offline.

Note: Even if it was possible - I definitely dont want to use strapi on the device itsself as second instance for offline mode. It would be overkill and be quite ressource consuming for a mobile app.

Now I wonder if anyone walked across that kind of setup already and has a suggestion or solution on how to have an offline layer on top of a strapi backend.

Thank You

1 Like