The Android app explains when your phone's web view is too old
Why it matters: If your phone's web component is too old to show the site, the Android app now tells you how to fix it instead of showing an error that Try again can't clear.
The Android app shows the site through a component called Android System WebView. On some phones that component was older than the site supports. When that happened, the app showed “Something went wrong” and a Try again button that never worked.
Now the app explains that Android System WebView needs updating and gives you a button to its Play Store page. It opens the Play Store app, or the Play Store website if the app isn’t there. If neither can open, a short message says what to do. This screen only appears when the web view really is too old, or its version can’t be read. Other problems still show the usual “Something went wrong” screen.
Also fixed:
- In Settings, the “Turn on notifications” button now hides once notifications are on.
- Titles on the app’s error screens are now read as headings by screen readers.
Under the hood: The site turns away browsers older than the ones it supports. The app checks the web view’s version to tell that case apart from other errors.
Commits (2)
-
6357e6fAndroid: explain a web view too old for the site; the notification button hides when on -
2227026Android: the WebView update screen only for an old WebView (review fixes)
Files Changed (8)
.../com/norafoundry/eyeonmajors/ErrorScreens.kt | 98 +++++++++++++++++++++++++++---- android/app/src/main/res/values/strings.xml | 4 ++ .../norafoundry/eyeonmajors/ErrorScreensTest.kt | 39 ++++++++++++- .../bridge/notification_permission_controller.js | 3 +- app/views/native/_notifications_card.html.erb | 6 ++- docs/mobile/feature-parity.md | 4 +- test/integration/hotwire_native_test.rb | 8 +++ test/integration/native_push_devices_test.rb | 2 + 8 files changed, 147 insertions(+), 17 deletions(-)