diff --git a/CHANGELOG.md b/CHANGELOG.md index a3119952..e0eb612f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 4.0.9 +* Added new alarm parameter `volumeEnforced`. +* [iOS] Reopen killed app when tap on notification stop button. + ## 4.0.8 * Fixed and improved isRinging method. * [iOS] Add support for longer volume fade durations. diff --git a/android/src/main/kotlin/com/gdelataillade/alarm/alarm/AlarmService.kt b/android/src/main/kotlin/com/gdelataillade/alarm/alarm/AlarmService.kt index ace6213b..fe2c864a 100644 --- a/android/src/main/kotlin/com/gdelataillade/alarm/alarm/AlarmService.kt +++ b/android/src/main/kotlin/com/gdelataillade/alarm/alarm/AlarmService.kt @@ -112,8 +112,6 @@ class AlarmService : Service() { val volumeEnforced = intent.getBooleanExtra("volumeEnforced", false) val fadeDuration = intent.getDoubleExtra("fadeDuration", 0.0) - Log.d("AlarmService", "volume enforced: $volumeEnforced") - // Notify the plugin about the alarm ringing AlarmPlugin.eventSink?.success( mapOf( diff --git a/example/lib/screens/home.dart b/example/lib/screens/home.dart index 077d93f1..0c0a3151 100644 --- a/example/lib/screens/home.dart +++ b/example/lib/screens/home.dart @@ -9,7 +9,7 @@ import 'package:alarm_example/widgets/tile.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; -const version = '4.0.8'; +const version = '4.0.9'; class ExampleAlarmHomeScreen extends StatefulWidget { const ExampleAlarmHomeScreen({super.key}); diff --git a/example/pubspec.lock b/example/pubspec.lock index 0c57fd73..64b945e8 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -7,7 +7,7 @@ packages: path: ".." relative: true source: path - version: "4.0.8" + version: "4.0.9" async: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 1b4d70e4..973c5a27 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: alarm description: A simple Flutter alarm manager plugin for both iOS and Android. -version: 4.0.8 +version: 4.0.9 homepage: https://github.com/gdelataillade/alarm environment: