From f5322e0fe4e4e1daf9507a82e3570651c6fcc4aa Mon Sep 17 00:00:00 2001 From: jcesarmobile Date: Tue, 12 Dec 2023 15:07:02 +0100 Subject: [PATCH] Update local-notifications/README.md --- local-notifications/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/local-notifications/README.md b/local-notifications/README.md index e4b34ecde..fcd0eb420 100644 --- a/local-notifications/README.md +++ b/local-notifications/README.md @@ -20,7 +20,7 @@ Starting on Android 12, scheduled notifications won't be exact unless this permi ``` -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 provide fallbacks or alternative behavior. +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. 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).