[Docs] update restricted settings page to include the accessibility service

This commit is contained in:
MM20 2023-02-01 18:21:44 +01:00
parent d9afb08ab1
commit 8b122ec2ed
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389
7 changed files with 759 additions and 675 deletions

View File

@ -1,32 +0,0 @@
import MoreVertRoundedIcon from '@mui/icons-material/MoreVertRounded'
# Notification Access on Android 13+
Starting with Android 13, notification access is restricted for sideloaded apps. If you sideloaded
the APK, you might need to perform some extra steps to enable notification access (which is required for the music widget and for notification badges):
1. Try to grant the notification access permission as you would normally do. If you sideloaded the APK, all the controls are disabled:
<img src="/img/notification-access-1.png" width="300"/>
2. Tap on the disabled toggle “Allow notification access”. This dialog will show up:
<img src="/img/notification-access-2.png" width="300"/>
3. Tap “OK” to close the dialog.
4. Tap on the app icon. It leads to the app info screen.
<img src="/img/notification-access-3.png" width="300"/>
5. Tap on the 3-dot-menu (<MoreVertRoundedIcon/>) in the top-right corner.
:::info
This menu only shows up if you have tried to enable a restricted setting before. **Step 2 is crucial for this to work.**
:::
6. Tap on “Allow restricted settings”
<img src="/img/notification-access-4.png" width="300"/>
7. Go back to the previous screen. The controls are no longer disabled, and you can allow notification access.

View File

@ -0,0 +1,67 @@
import MoreVertRoundedIcon from '@mui/icons-material/MoreVertRounded'
# Restricted Settings on Android 13+
Starting with Android 13, some settings are restricted for sideloaded apps and extra steps are required to enable them.
For Kvaesitso, this affects the notification access permission and the accessibility service.
## Notification Access
The notification access permission is used to display notification badges, and to control music playback.
1. Try to grant the notification access permission as you would normally do. If you sideloaded the APK, all the controls are disabled:
<img src="/img/notification-access-1.png" width="300"/>
2. Tap on the disabled toggle “Allow notification access”. This dialog will show up:
<img src="/img/notification-access-2.png" width="300"/>
3. Tap “OK” to close the dialog.
4. Tap on the app icon. It leads to the app info screen.
<img src="/img/notification-access-3.png" width="300"/>
5. Tap on the 3-dot-menu (<MoreVertRoundedIcon/>) in the top-right corner.
:::info
This menu only shows up if you have tried to enable a restricted setting before. **Step 2 is crucial for this to work.**
:::
6. Tap on “Allow restricted settings”
<img src="/img/notification-access-4.png" width="300"/>
7. Go back to the previous screen. The controls are no longer disabled, and you can allow notification access.
## Accessibility Service
The accessibility service is used to perform certain gesture actions, like turning the screen off, or opening the notification shade.
1. Try to enable the accessibility service as you would normally do. If you sideloaded the APK, you will find that Kvaesitso is disabled:
<img src="/img/accessibility-service-1.png" width="300"/>
2. Tap on the disabled entry. This dialog will show up:
<img src="/img/accessibility-service-2.png" width="300"/>
3. Tap “OK” to close the dialog.
4. Navigate to the app info screen (system settings > apps > Kvaesitso).
<img src="/img/notification-access-3.png" width="300"/>
5. Tap on the 3-dot-menu (<MoreVertRoundedIcon/>) in the top-right corner.
:::info
This menu only shows up if you have tried to enable a restricted setting before. **Step 2 is crucial for this to work.**
:::
6. Tap on “Allow restricted settings”
<img src="/img/notification-access-4.png" width="300"/>
7. Go back to the accessibility screen. Kvaesitso is no longer disabled, and you can enable it.

View File

@ -10,7 +10,7 @@ Per default, only media sessions from "music apps" are shown in the music widget
## I can't grant notification access permission!
Please refer to [notification access on Android 13+](/docs/user-guide/troubleshooting/notification-access)
Please refer to [notification access on Android 13+](/docs/user-guide/troubleshooting/restricted-settings#notification-access).
## Why do I need to grant access to my notifications just to control some stupid media session?

1321
docs/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,13 +15,13 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "^2.2.0",
"@docusaurus/preset-classic": "^2.2.0",
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@docusaurus/core": "^2.3.0",
"@docusaurus/preset-classic": "^2.3.0",
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mdx-js/react": "^1.6.22",
"@mui/icons-material": "^5.10.6",
"@mui/material": "^5.10.8",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.11.7",
"clsx": "^1.2.1",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB