Skip to content

Fixes for Android 13

grant requested to merge fix-android-13 into develop

This MR implements fixes related to supporting Android 13 and fixing issues observed with the display of notifications both in Android 13 and earlier versions of Android as described in #53 (closed). Changes include,

  • Update to Android-Components 111.1.1
  • Update to ouinet v0.21.10, which includes fixes required to implement some of the changes below
  • Add POST_NOTIFICATIONS permission to AndroidManifest
  • Refactor PermissionHandler.kt to manage asking for the POST_NOTIFICATIONS permission
  • In Android 13, ask for permission to POST_NOTIFICATIONS prior to asking to disable battery optimization
  • Revise some of the onboarding strings to include mentiona asking to allow notificatons in Android 13
  • Add an "Allow Notifications" option to settings menu to let users easily allow this permission later
  • Add a stalled timeout to ShutdownFragment to force close Ceno if ouinet stop takes too long to finish

Merge request reports