firebase_notifications_handler 2.0.2 firebase_notifications_handler: ^2.0.2 copied to clipboard
Easy-to-use Firebase notifications handler with built-in local notifications support, allowing your app to display notifications in the foreground without extra setup.
[2.0.2] #
- Added web documentation in README
- Updated SDK constraints
[2.0.1+2] #
- Update API reference link in README
[2.0.1+1] #
- Updated package description
[2.0.1] #
- Default android notification channel id is now "default" instead of "Notifications"
- Updated example app with more custom sounds
- Updated README.md
- Updated package description and added additional tags
[2.0.0+1] #
- Formatted files
- Updated scripts in pubspec.yaml
[2.0.0] #
- BREAKING: No navigator key param in handler, and in callbacks onTap, onOpenNotificationArrive
- BREAKING: No context in callbacks onFcmTokenInitialize, onFcmTokenUpdate
- BREAKING: Renamed AppState.closed to AppState.terminated
- BREAKING: onTap now gives an object of NotificationInfo
- BREAKING: enableLogs is now available as a static variable in FirebaseNotificationsHandler
- BREAKING: Renamed onFCMTokenInitialize to onFcmTokenInitialize
- BREAKING: Renamed onFCMTokenUpdate to onFcmTokenUpdate
- BREAKING: Renamed initializeFCMToken to initializeFcmToken
- BREAKING: Removed onFCMTokenRefresh
- BREAKING: Renamed requestPermissionsOnInit to requestPermissionsOnInitialize
- BREAKING: Removed sendFcmNotification as API has been deprecated to send notifications from client side.
- Introduced a new sendLocalNotification function which can be used to send/schedule local notifications.
- BREAKING: Added androidConfig and iosConfig in and moved platform specific configs there like channelId, channelName etc. which was in the root before, and these values are getters, which can be modified for every incoming message.
- BREAKING: Renamed
NotificationTapDetails
toNotificationInfo
. NotificationInfo now also holdsfirebaseMessage
. - BREAKING: Callbacks onTap and onOpenNotificationArrive callbacks now give
NotificationInfo
param which contains info about the notification. - Added notificationTapsSubscription, notificationArrivesSubscription streams.
- Added android notification channel create, read, delete methods.
- Added
permissionGetter
function to override permission request getter. - Added notification handling / modifying callbacks like
shouldHandleNotification
,messageModifier
etc. - Added
stateKeyGetter
getter to generate widget key, allowing to call internal methods using keys. - Added
getInitialMessage
callback to get initial notification details if app was opened from a notification. - Added logs in debug mode.
- Fixed issues with images not showing in notifications.
- Updated example app with latest SDKs
- Updated documentation
- Updated dependencies to latest release
- Added issue tracker link
- Updated README.md and badges
[1.1.0] #
- Updated example app
- Updated documentation
- Updated some dependencies to latest release
[1.0.9] #
- Updated dependencies
[1.0.8] #
- Updated dependencies
- Fixed linter warnings
- Added handleInitialMessage attribute
- Exported firebase_messaging package
- Updated README.md
[1.0.7] #
- Updated example app to a fully functional app...
- Updated dependencies
- Updated README.md
[1.0.6] #
- Fixed sendNotification bug
[1.0.5] #
- Fixed null check error in main widget.
- Updated README.md
[1.0.4] #
- Updated payload type.
- Added notificationMeta in sendNotification.
[1.0.3] #
- Minor fix in sendNotification.
- Updated example app
- Updated README.md
[1.0.2] #
- Added sendNotification function to trigger FCM notification.
- Updated dependencies
- Updated README.md
[1.0.1] #
- Updated license
- Updated README.md
[1.0.0] #
- Added linter and updated code accordingly
- Updated example app
- Updated dependencies
- Updated README.md
[0.0.8] #
- Exposed initializeFCMToken & onFCMTokenRefresh callbacks
- Updated dependencies
- Updated example app
- Updated README.md
[0.0.7] #
- Updated README.md
[0.0.6] #
- Updated README.md
[0.0.5] #
- Added custom sound support for iOS
- Added images support in notifications
- Updated dependencies
- Updated README.md
[0.0.4] #
- Updated README.md
[0.0.3] #
- Bug fix
[0.0.2] #
- Updated README.md
[0.0.1] #
- Simple notifications handler which provides callbacks like onTap which really make it easy to handle notification taps and a lot more.