Skip to content

Commit 9a63fe9

Browse files
committed
Changes and tweaks
1 parent 75e1997 commit 9a63fe9

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [6.36.0] - 2025-10-12
2+
3+
* added `repeatOn` to PushNotification class to allow repeating notifications
4+
* Update pubspec.yaml
5+
16
## [6.35.2] - 2025-09-22
27

38
* Update pubspec.yaml

example/pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ packages:
427427
path: ".."
428428
relative: true
429429
source: path
430-
version: "6.35.1"
430+
version: "6.36.0"
431431
path:
432432
dependency: transitive
433433
description:
@@ -797,10 +797,10 @@ packages:
797797
dependency: transitive
798798
description:
799799
name: win32
800-
sha256: "66814138c3562338d05613a6e368ed8cfb237ad6d64a9e9334be3f309acfca03"
800+
sha256: d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e
801801
url: "https://pub.dev"
802802
source: hosted
803-
version: "5.14.0"
803+
version: "5.15.0"
804804
xdg_directories:
805805
dependency: transitive
806806
description:

lib/local_notifications/local_notifications.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ class PushNotification {
181181
String? categoryIdentifier,
182182
InterruptionLevel? interruptionLevel,
183183
AndroidScheduleMode? androidScheduleMode,
184+
DateTimeComponents? repeatOn,
184185
}) async {
185186
PushNotification pushNotification = PushNotification(
186187
title: title,
@@ -396,12 +397,14 @@ class PushNotification {
396397
pushNotification.addInterruptionLevel(interruptionLevel);
397398
}
398399
await pushNotification.send(
399-
at: at, androidScheduleMode: androidScheduleMode);
400+
at: at, androidScheduleMode: androidScheduleMode, repeatOn: repeatOn);
400401
}
401402

402403
/// Send the push notification
403404
Future<void> send(
404-
{DateTime? at, AndroidScheduleMode? androidScheduleMode}) async {
405+
{DateTime? at,
406+
AndroidScheduleMode? androidScheduleMode,
407+
DateTimeComponents? repeatOn}) async {
405408
if (kIsWeb) {
406409
throw Exception("Push notifications are not supported on the web");
407410
}
@@ -438,6 +441,7 @@ class PushNotification {
438441
androidScheduleMode:
439442
androidScheduleMode ?? AndroidScheduleMode.exactAllowWhileIdle,
440443
payload: _payload,
444+
matchDateTimeComponents: repeatOn,
441445
);
442446
});
443447
return;

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -806,10 +806,10 @@ packages:
806806
dependency: "direct main"
807807
description:
808808
name: win32
809-
sha256: "66814138c3562338d05613a6e368ed8cfb237ad6d64a9e9334be3f309acfca03"
809+
sha256: d7cb55e04cd34096cd3a79b3330245f54cb96a370a1c27adb3c84b917de8b08e
810810
url: "https://pub.dev"
811811
source: hosted
812-
version: "5.14.0"
812+
version: "5.15.0"
813813
xdg_directories:
814814
dependency: transitive
815815
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nylo_support
22
description: Support library for the Nylo framework. This library supports routing, widgets, localization, cli, storage and more.
3-
version: 6.35.2
3+
version: 6.36.0
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/support/tree/6.x
66
issue_tracker: https://github.com/nylo-core/support/issues
@@ -43,7 +43,7 @@ dependencies:
4343
mask_text_input_formatter: ^2.9.0
4444
uuid: ^4.5.1
4545
ffi: ^2.1.4
46-
win32: ^5.14.0
46+
win32: ^5.15.0
4747
characters: ^1.4.0
4848
flutter_web_plugins:
4949
sdk: flutter

0 commit comments

Comments
 (0)