@capacitor/local-notifications 7.0.4-dev-2450-20251125T145313.0 → 7.0.4-dev-2451-20251125T162922.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@ npx cap sync
|
|
|
11
11
|
|
|
12
12
|
## Android
|
|
13
13
|
|
|
14
|
-
Android 13 requires a permission check in order to send notifications.
|
|
14
|
+
Android 13 requires a permission check in order to send notifications. You are required to call `checkPermissions()` and `requestPermissions()` accordingly.
|
|
15
15
|
|
|
16
16
|
On Android 12 and older it won't show a prompt and will just return as granted.
|
|
17
17
|
|
|
@@ -21,9 +21,9 @@ Starting on Android 12, scheduled notifications won't be exact unless this permi
|
|
|
21
21
|
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
Note that even if the permission is present, users can still disable exact notifications from the app settings.
|
|
24
|
+
Note that even if the permission is present, users can still disable exact notifications from the app settings. Use `checkExactNotificationSetting()` to check the the value of the setting. If a user disables this setting, the app will restart and any notification scheduled with an exact alarm will be deleted. If your application depends on exact alarms, be sure to check this setting on app launch (for example, in [`App.appStateChange`](https://capacitorjs.com/docs/apis/app#addlistenerappstatechange-)) in order to provide fallbacks or alternative behavior.
|
|
25
25
|
|
|
26
|
-
On Android 14, there is a new permission called `USE_EXACT_ALARM`.
|
|
26
|
+
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).
|
|
27
27
|
|
|
28
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
29
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/local-notifications",
|
|
3
|
-
"version": "7.0.4-dev-
|
|
3
|
+
"version": "7.0.4-dev-2451-20251125T162922.0",
|
|
4
4
|
"description": "The Local Notifications API provides a way to schedule device notifications locally (i.e. without a server sending push notifications).",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|