Closed arneschuldt closed 3 months ago
Thank you for the detailed report on this issue. I have looked into it and this is caused by the internal implementation of the plots in Sensor Logger which use a Web View.
I will add an optional setting to disable plots in the "Recording & Workflow" Settings page in the August release of Sensor Logger, which is coming soon.
@arneschuldt Sensor Logger version 1.37 is now out with this new option under the Recording & Workflow section. Please give that a try and see if that fixes the issue. I will close this now, but feel free to reopen if you run into problems.
@tszheichoi Thanks a lot.
We will continue our testrun and report back in case of any problems detected.
@tszheichoi
It seems as the problem is actually solved. It did not occur again. Thank you very much!
Background
In order to facilitate continous operations of the app, we are taking the following precautions:
Problem
However, there is an issue with the Android WebView component the app uses. In the logs, we see that the sensor app is regularly stopped due to WebView updates, e.g.:
The reason seems to be that Google reserves the right to fix critical vulnerabilities (in the WebView in this case) even if updates are disabled:
source: https://support.google.com/googleplay/answer/113412?hl=en
Possible Solution
For its core functionality (collection sensor data), the sensor app does probably not need the WebView. We assume that the WebView is mainly used to show web content, e.g., the "about" section of the app.
If that is true, one option might be to remove the WebView component and open such information directly in the system web browser (e.g., Chrome). This should hopefully increase the app stability as it then no longer depends on Google's WebView security updates.