Skip to content

Commit e8d8572

Browse files
docs: Android 15 - Private Space (#2283)
1 parent 2158e6a commit e8d8572

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

local-notifications/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ npx cap sync
1010
```
1111

1212
## Android
13+
1314
Android 13 requires a permission check in order to send notifications. You are required to call `checkPermissions()` and `requestPermissions()` accordingly.
1415

1516
On Android 12 and older it won't show a prompt and will just return as granted.
@@ -24,6 +25,12 @@ Note that even if the permission is present, users can still disable exact notif
2425

2526
On Android 14, there is a new permission called `USE_EXACT_ALARM`. Use this permission to use exact alarms without needing to request permission from the user. This should only be used if the use of exact alarms is central to your app's functionality. Read more about the implications of using this permission [here](https://developer.android.com/reference/android/Manifest.permission#USE_EXACT_ALARM).
2627

28+
From Android 15 onwards, users can install an app in the [Private space](https://developer.android.com/about/versions/15/features#private-space). Users can lock their private space at any time, which means that push notifications are not shown until the user unlocks it.
29+
30+
It is not possible to detect if an app is installed in the private space. Therefore, if your app shows any critical notifications, inform your users to avoid installing the app in the private space.
31+
32+
For more information about the behavior changes of your app related to the private space, refer to [Android documentation](https://developer.android.com/about/versions/15/behavior-changes-all#private-space-changes).
33+
2734
## Configuration
2835

2936
<docgen-config>

push-notifications/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ The Push Notification API uses [Firebase Cloud Messaging](https://firebase.googl
3131

3232
Android 13 requires a permission check in order to receive push notifications. You are required to call `checkPermissions()` and `requestPermissions()` accordingly, when targeting SDK 33.
3333

34+
From Android 15 onwards, users can install an app in the [Private space](https://developer.android.com/about/versions/15/features#private-space). Users can lock their private space at any time, which means that push notifications are not shown until the user unlocks it.
35+
36+
It is not possible to detect if an app is installed in the private space. Therefore, if your app shows any critical notifications, inform your users to avoid installing the app in the private space.
37+
38+
For more information about the behavior changes of your app related to the private space, refer to [Android documentation](https://developer.android.com/about/versions/15/behavior-changes-all#private-space-changes).
39+
3440
### Variables
3541

3642
This plugin will use the following project variables (defined in your app's `variables.gradle` file):

0 commit comments

Comments
 (0)