From 22f46e9ad687f39ee229bcc2c6a3078f8c9e7b0b Mon Sep 17 00:00:00 2001 From: Orkun Duman Date: Wed, 4 Dec 2024 17:27:22 -0500 Subject: [PATCH] Update to v5 --- CHANGELOG.md | 3 ++- example/android/app/build.gradle | 5 ----- lib/model/alarm_settings.dart | 1 - 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc30b35f..9c361392 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ -## 4.2.0 +## 5.0.0 +* **BREAKING**: Old alarms (alarms created pre v5) will be deleted. * BREAKING: Some API parameters have been renamed, this update requires a small amount of refactoring for users. No features have been removed. * Add support for fading the alarm volume using a staircase function. diff --git a/example/android/app/build.gradle b/example/android/app/build.gradle index eebe028d..f898d167 100644 --- a/example/android/app/build.gradle +++ b/example/android/app/build.gradle @@ -42,10 +42,7 @@ android { } defaultConfig { - // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.gdelataillade.alarm.alarm_example" - // You can update the following values to match your application needs. - // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration. minSdkVersion flutter.minSdkVersion targetSdkVersion flutter.targetSdkVersion versionCode flutterVersionCode.toInteger() @@ -54,8 +51,6 @@ android { buildTypes { release { - // TODO: Add your own signing config for the release build. - // Signing with the debug keys for now, so `flutter run --release` works. signingConfig signingConfigs.debug } } diff --git a/lib/model/alarm_settings.dart b/lib/model/alarm_settings.dart index 80990125..21656d6a 100644 --- a/lib/model/alarm_settings.dart +++ b/lib/model/alarm_settings.dart @@ -22,7 +22,6 @@ class AlarmSettings { this.androidFullScreenIntent = true, }); - // TODO(orkun1675): Ensure compatibility with older plugin versions. /// Constructs an `AlarmSettings` instance from the given JSON data. factory AlarmSettings.fromJson(Map json) => _$AlarmSettingsFromJson(json);