Open JayPanoz opened 6 years ago
@JayPanoz thanks, you are correct and we've added a story to our backlog. This use case hadn't been considered recently until now. We already have examples of files that would benefit but any information you have on how widely used this is will be attached to the story.
Well, it’s hard to get a precise idea but it is one of those small and simple APIs that you end up using a lot in some cases, and can eventually help when building widgets, libraries, etc. and improve the UX.
Off the top of my head:
The storage API does not work on eink kobo too. Software 4.20... kepub extension
Unless I’m missing something, it looks like the Storage API (
sessionStorage
,localStorage
) is not enabled in the Android app, while it is in the iOS app.As far as I can remember, it has to be set (opt-in) for Android web views while it is automatically enabled (opt-out) for iOS web views, and the method which should be used is
webSettings.setDatabaseEnabled(true)
(cf. the Android Reference).Problem is, the Storage API is quite a MUST if you have quizzes or more general stuff for which you must store and retrieve values at a later time, and this inconsistency may create compatibility issues between the 2 apps.
So it would be great to have some consistency there, the alternative being IndexedDB, which can be very slow and tricky to deal with on less capable Android devices.
Or maybe it is already and I’m missing something? But even simple tests are failing for me right now.