Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flutter_local_notifications] [flutter_local_notifications_platform_i…
…nterface] timezone, macOS support, various new features and fixes (#830) * initial working version of tzSchedule method on android and ios * add SR-310 ABP and use in plugin, add tests, update example and update iOS side * WIP on repeating scheduled notifications * updates to triggers * change alias used for timezone imports * fix test for tzSchedule * update example app dependencies and ios project * fix imports and remove ScheduledNotificationRepeatTrigger related code * deprecate schedule, bump Gradle plugin and update example app * add ability to specify repeat frequency for scheduled notification * update docs around grouping notifications * refactor ios code * update id used in example for weekly notification * rename tzSchedule to zonedSchedule and fix tests * add androidAllowWhileIdle to periodicallyShow * cleanup usages of dynamics for maps * update InitializationSettings and NotificationDetails to have named parameters * hide toMap and update API docs for classes with notification details * bumped e2e dependency and update code to work with it * hide toMap from Time class * update code using different linter ruleset * hide additional android examples when run on other platforms * update enum values to lower camel casing * update enum values in platform interface * have platform interface using rules from root analysis_options.yaml * updated podspec details * fix plugin version * remove macOS-related conditions * add assertions to IOSInitializationSettings * add support for macOS 10.14+, cleanup examples * update API docs for OS version specific properties * refactor macos plugin and put OS X version at class level * Revert "refactor macos plugin and put OS X version at class level" This reverts commit 59b1712. * bump plugin interface to 2.0.0-beta.1 * add support for older macOS versions using NSUserNotification APIs * update changelog to mention macOS support * add ability to specify how to interpret scheduled date on older iOS versions * refactor date validation and update API docs * revert example app back to use local timezone and scheduled duration * apply formatting to plugin methods * update documentation and code related to docs * more documentation updates and update Proguard rules * fix example app code for schedule 10 AM notification and rearrange cancel code * add info on more changes * update readme in usage of example app * bump AGP to 4.0 and use desugaring to access Java time APIs * add details on enabling desugaring and iOS presentation options * refactor string constants for method call arguments on macOS * fix error message on Android when sound raw cannot be found * refactor macOS method call logic * refactor iOS code * Revert "bump AGP to 4.0 and use desugaring to access Java time APIs" This reverts commit 40f0021. * fix logic in receiver to repeat zoned scheduled notifications * update readme to mention fix for invalid source resource error and update notes on how zonedSchedule works on Android * include macOS on note about restrictions on notification sounds * clean up changelog * ignore macOS example Podfile-related files * bump plugin_platform_interface dependency * update to use beta platform interface * parse date interpretation on iOS * add note to readme on methods that aren't implemented * update changelog about Dart SDK dependency being bumped * remove redundant ios classes * restore android timestamp fix to ensure consumers of older plugin versions will still have scheduled notifications shown * add tests for macOS * add ability to specify subtitle for an iOS notification * add todo for testing periodicallyShow * update testing section of readme and move it * fix how launch notification details are read on android * fix casing of changelog entry * fix issue where ThreeTenABP lib wasn't initialised * bump e2e dev dependency * fix initialisation of ThreeTen Android Backport library when notifications are being rescheduled * [flutter_local_notifications] Adds support for Android's getActiveNotifications (#704) * Adds support for Android's getActiveNotifications * Updates button label after new demo page layout * fix e2e test code * update CI script to include code analysis * Improves getActiveNotifications implementation: Adds README usage, adds model documentation, renames file, updates error message * Updates code style and documentation * Adds basic test * try no-pub option for fixing analysis task * analyze platform interface code from within the directory * add analysis task for plugin and update dependencies * revert cirrus script * amend API docs Co-authored-by: Michael Bui <25263378+MaikuB@users.noreply.github.com> * [flutter_local_notifications] cleanup code and API docs (#708) * fix and update API docs * cleanup Java code around checking Android versions * remove use of dyancmi * remove redundant conditional in example code * bump plugin and updated more docs * fix grammar in API docs * fix Android version mentioned in example app for getActiveNotifications * update wording in changelog * mention Android versions that getActiveNotifications is compatible with in changelog * fix grammar for error message related to calling getActiveNotifications * fix macOS code quality issues (#734) * [flutter_local_notifications] Android Full-Screen Notification (#730) * added full-screen support for android * addressed some PR comments * removed wakelock * added full-screen intent notification to example * fullScreen -> fullScreenIntent * android fixes * _showFullScreenNotification now uses zonedSchedule * doc fix * reverted unneeded format change in main.dart * dart analysis fixes * README - nit: use sentence casing instead of title casing * Update main.dart * Update main.dart * removed imports * format code * configure priority and importance Co-authored-by: Michael Bui <25263378+MaikuB@users.noreply.github.com> * bump version for 1.5.0-beta.7 release (#762) * [flutter_local_notifications] null checking mainActivity before .getIntent() (#763) * bump version (#765) * [flutter_local_notifications] Add Null-Safety to FullScreen Intent Check (#781) * Add Null-Safety to FullScreen Intent Check (#780) * use helper method to remove nested if condition Co-authored-by: Michael Bui <25263378+MaikuB@users.noreply.github.com> * [flutter_local_notifications] bump version to 1.5.0-beta.9 (#800) * bump version * fix changelog entry * [flutter_local_notifications] Added table of contents (#808) * 📝 Added table of contents * 📝 Updated TOC * remove kvm_script that isn't needed on cirrus anymore Co-authored-by: Michael Bui <25263378+MaikuB@users.noreply.github.com> * [flutter_local_notifications] bump compile SDK to 30 and ability to specify shortcut id (#820) * bump plugin to use compile SDK version 30 for Android * add ability to specify shortcut id * bump plugin version * [flutter_local_notifications] updates to static analysis and plugin versions (#829) * update example app and readme to match repo linter rules * updates to changelog and versions for stable release * remove development team info Co-authored-by: Vincent <vkammerer@gmail.com> Co-authored-by: Nadav Fima <nadavfima@gmail.com> Co-authored-by: Jonas Bornold <jonas@bornold.se> Co-authored-by: Sebastian Faust <sebastian.faust1997@gmail.com> Co-authored-by: Ascênio <Ascenio@users.noreply.github.com>
- Loading branch information