-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Explore and document limitations using WebView version #170
Comments
Related to #169 |
We have some evidence that around 800 BRAC users are on v0.8.0 and using webview already (presumably Android 10+). Gathering more information about those users could help identify and issues. |
During our site visit, the BRAC VHTs and CHWs that we spoked to are using Android 10 |
Just wanted to note that our request for persistent storage seems to never be granted when running via the At the same time, I did verify that when running in the device's browser (or as a PWA), then persistent storage was granted pretty much immediately. |
@jkuester Persistent storage in the browser sometimes prompts the user for confirmation (I'm assuming you granted this in the browser/PWA?). What happens in the webview? Do you ever see a prompt, or is it silently ignored forever? |
@garethbowen I did not ever see a prompt in WebView. (I also did not see a prompt today with the browser/PWA, but it is possible that I accepted it previously...) |
Now that I think about it it may be that the prompt is only on Firefox. Chrome has a complex set of conditions that must be met to get persisted storage, and it may be that you have to visit the site over multiple days. |
Ah, that's great. Well for the record, I did anecdotally test what happens with the webview version of cht-android when you do not have persisted storage and your phone runs out of storage.
Seems rather certain (based on various things I have read) that this is not guaranteed with webview, but was nice to know that the app's data was not cannibalized instantly when the phone ran out of space... |
Attaching debug APK. |
Findings after testing and some research. Disk space usage Persistence of storage Browser versions A big thank you to @jkuester and @tatilepizs for their help in the tests |
@garethbowen do we want to fix the data loss issue in a future release? If yes, can we close this issue? I think the research is finished cc: @njogz |
Yeah I think we can close this, thanks. |
Thank you, I'm closing this issue |
With the improvements from #134, the WebView version becomes an increasingly viable alternative to XWalk on older Android versions too (5-9). Given that the WebView APK size is <1MB vs 25MB, Android app upgrades are easier when connectivity is limited, and the app will generally be able to run on newer browser versions than with the XWalk version. To ensure that the WebView version will continue to work well on older devices in the long run we should further explore the limitations, especially around the following areas:
There may be other areas to explore and can be added as part of this investigation. We should document the limitations and can spawn off issues for any areas in the app that need improvements.
The text was updated successfully, but these errors were encountered: