bunpro-srs / BunPro-iOS

iOS companion app for the BunPro Japanese grammar learning service.
https://bunpro.jp/
MIT License
5 stars 1 forks source link

Offline mode #22

Open Jeehut opened 5 years ago

Jeehut commented 5 years ago

Currently it isn‘t possible to make use of the biggest advantage of an app over a mobile website: Using BunPro without internet connection. I just realized this a few days ago on the airplane to Japan where I could do reviews on WaniKani using the Tsurukame app (also open source) but couldn‘t with BunPro.

Basically, I think having #10 implemented the right way would include offline support, at least for reviews that were known to become due when last connected to the internet. I‘m not talking full offline mode here, just caching the review results and syncing them to the server once connected would be fine. The goal should be to cover temporary situations without internet connection like on an airplane or in the train while having bad cellular connection.

This feature might require some changes on the API as well, I haven‘t checked.

Rion-Kaneshiro commented 5 years ago

If we cache the reviews and mark them as done but not synced, an API change is not required since we would just skip that call and do it later. We should test how the platform behaves if you have unsynced reviews, do the same on the web and sync after that.

Jeehut commented 5 years ago

Sounds like a reasonable approach to me.