Skip to content

Commit

Permalink
Increment plugin version to 3.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
gdelataillade committed Apr 29, 2024
1 parent 7822a1d commit 4590911
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.1.3
**🔧 Android installation steps were updated [here](https://github.com/gdelataillade/alarm/blob/main/help/INSTALL-ANDROID.md).**
* [Android] Remove notification large icon.

## 3.1.2
* [Android] Fix alarm stop on app open.

Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class _ExampleAlarmHomeScreenState extends State<ExampleAlarmHomeScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: const Text('alarm 3.1.2')),
appBar: AppBar(title: const Text('alarm 3.1.3')),
body: SafeArea(
child: alarms.isNotEmpty
? ListView.separated(
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ packages:
path: ".."
relative: true
source: path
version: "3.1.2"
version: "3.1.3"
async:
dependency: transitive
description:
Expand Down
14 changes: 7 additions & 7 deletions lib/model/alarm_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ import 'package:flutter/widgets.dart';
@immutable
class AlarmSettings {
/// Model that contains all the settings to customize and set an alarm.
///
///
/// Note that if you want to show a notification when alarm is triggered, both
/// [notificationTitle] and [notificationBody] must not be null nor empty.
const AlarmSettings({
required this.id,
required this.dateTime,
Expand Down Expand Up @@ -100,10 +96,14 @@ class AlarmSettings {
/// Body of the notification to be shown when alarm is triggered.
final String notificationBody;

/// Whether to show a notification when application is killed to warn
/// the user that the alarms won't ring anymore. Enabled by default.
/// Whether to show a notification when application is killed by user.
///
/// - Android: the alarm should still trigger even if the app is killed,
/// if configured correctly and with the right permissions.
/// - iOS: the alarm will not trigger if the app is killed.
///
/// Not necessary for Android. Recommanded for iOS.
/// Recommended: set to `Platform.isIOS` to enable it only
/// on iOS. Defaults to `true`.
final bool enableNotificationOnKill;

/// Whether to turn screen on and display full screen notification
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: alarm
description: A simple Flutter alarm manager plugin for both iOS and Android.
version: 3.1.2
version: 3.1.3
homepage: https://github.com/gdelataillade/alarm

environment:
Expand Down

0 comments on commit 4590911

Please sign in to comment.