2.4.1
ketanshikharebsft
released this
17 Aug 12:47
·
23 commits
to master
since this release
What's New
- Added support to auto-update the badge count when the 'auto-badge-update' type of push notification is received/ clicked/ dismissed. To enable auto update badge counts, add below code to your notification service extension's
NotificationService
class.
if BlueShiftPushNotification.sharedInstance()?.isBlueShiftPushNotification(request) == true, let badgeCount = BlueShiftPushNotification.sharedInstance()?.getUpdatedBadgeNumber(for: request) {
bestAttemptContent?.badge = badgeCount;
}
- Provided a helper method to auto-update the badge count. The method can be called on any of app's lifecycle methods to update the badge count.
BlueShift.sharedInstance()?.refreshApplicationBadge(completionHandler: {
});
- Added helper methods for cross-platform plugin use cases.
- Fixed the issue with minimum height for the default mobile inbox tableview cell and xib.
- Updated method to delete in-app messages using message id instead of object id.
- Started sending adapter UUID in the tracking events for push and in-app notifications.
- Added fix for background image-based modal to center align the body text.