diff --git a/CHANGELOG.md b/CHANGELOG.md index eb3a45a4..89d9a9b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 2.1.0 +* [Android] Add parameter [androidFullScreenIntent] that turns screen on when alarm notification is triggered. +* Disable [stopOnNotificationOpen] by default. + ## 2.0.1 * Update README. * Fix example app's ring now button. diff --git a/README.md b/README.md index abdfad00..fbf4b8e2 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,8 @@ fadeDuration | `double` | Duration, in seconds, over which to fade the ala notificationTitle | `String` | The title of the notification triggered when alarm rings if app is on background. notificationBody | `String` | The body of the notification. enableNotificationOnKill | `bool` | Whether to show a notification when application is killed to warn the user that the alarm he set may not ring. Enabled by default. -stopOnNotificationOpen | `bool` | Whether to stop the alarm when opening the received notification. Enabled by default. +stopOnNotificationOpen | `bool` | Whether to stop the alarm when opening the received notification. Disabled by default. +androidFullScreenIntent | `bool` | Whether to turn screen on when android alarm notification is triggered. Enabled by default. The notification shown on alarm ring can be disabled simply by ignoring the parameters `notificationTitle` and `notificationBody`. However, if you want a notification to be triggered, you will have to provide **both of them**. diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 8c723909..517a3eaf 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -3,6 +3,7 @@ + +