Bot releases are hidden (Show)
Published by MaikuB about 2 years ago
Published by MaikuB about 2 years ago
audioAttributesUsage
property belonging to the AndroidNotificationChannel
and AndroidNotificationDetails
classes. Thanks to the PR from Jonas Bornold
Published by MaikuB about 2 years ago
compileSdkVersion
to 33 and also updated readme to mention thisPublished by MaikuB about 2 years ago
PlatformException
s that can occur on Android have been updatedGET_ACTIVE_NOTIFICATION_MESSAGING_STYLE_ERROR_CODE
-> getActiveNotificationMessagingStyle
PERMISSION_REQUEST_IN_PROGRESS
-> permissionRequestInProgress
Published by MaikuB about 2 years ago
getNotificationAppLaunchDetails
on AndroidPublished by MaikuB about 2 years ago
requestPermission
method to the AndroidFlutterLocalNotificationsPlugin
class. This make use of the new feature added to Android 13 where an app can request permissions to show notifications. As the plugin's APIs don't have breaking changes, this is released a minor release. It does however, require the Android 13 SDK to be install installed and for apps to change the compileSdkVersion
in their app's build.gradle
to 33 as the plugin's compileSdkVersion
is now 33. Only apps targeting Android 13 can request the permission as well. The latter can be done by updating the targetSdkVersion
in an app's build.gradle
file to 33
. Thanks to the PR from Bartek Pacia. Note: the ability to request the permission as part of calling initialize
will be added later onPublished by MaikuB about 2 years ago
Published by MaikuB over 2 years ago
Published by MaikuB over 2 years ago
number
property that has been added to the AndroidNotificationDetails
class. Thanks to the PR from Katsuya Kato
Published by MaikuB over 2 years ago
zonedSchedule
with matchDateTimeComponents
set to dayOfMonthAndTime
or dateAndTime
led to an errorPublished by MaikuB over 2 years ago
category
of the AndroidNotificationDetails
now requires an instance of the newly added AndroidNotificationCategory
class instead of a string. This was to improve the discoverability of the APIs and improve the semantics as the category can specified in a similar fashion to using an enum valueLinuxNotificationCategory
no longer has factory constructors but has static constant fields instead to make the semantics more similar to access enum valuesPublished by MaikuB over 2 years ago
flutter_local_notifications_linux
to ^0.5.0+1
where support for icons to be specified via a file path was added by Yaroslav Pronin
Published by MaikuB over 2 years ago
zonedSchedule()
's implementation has switched to using desugaring instead of the ThreeTen Android Backport library. This required the plugin to update to using Android Gradle plugin 4.2.2 and applications may need to bump their Android Gradle plugin dependency to at least 4.2.2 as a result. Added a "Gradle setup" section underneath "Android setup" with details on the extra setup neededPublished by MaikuB over 2 years ago
onSelectNotification
won't be called when an app is launched by a notification so it's more visiblePublished by MaikuB over 2 years ago
Published by MaikuB over 2 years ago
Published by MaikuB over 2 years ago
getActiveNotificationMessagingStyle()
to get messaging style information for a notification with a tag. Thanks to PR from Simon Ser
Published by MaikuB over 2 years ago
Published by MaikuB over 2 years ago
getActiveNotificationMessagingStyle()
method to the AndroidFlutterLocalNotificationsPlugin
class. This allows for getting the messaging style information of an active notification e.g. to append a message to an existing notification. Thanks to the PR from Simon Ser
Published by MaikuB over 2 years ago
initialize()
on a platform with passing the appropriate initialisation settings for it will now throw an ArgumentError
. Whilst this may be technically a breaking change, it's been done as a minor change as the call was already throwing an unhandled exception in these scenarios. This change is to help provide more information on why it fails. Documentation has also been updated to provide more on information on this as the intialisation settings for each platform are nullable so developers aren't forced to provide settings for platforms they don't target. Thanks to the PR from Zlati Pehlivanov