- Fix padding discrepancies in alert dialog with actions
- Device identifiers become long-lived
- Keep weak references for listeners to prevent memory leaks
launch()
,unlaunch()
,enableRemoteNotifications()
anddisableRemoteNotifications()
become suspending functions with a callback alternative- Add support for customisable hosts
- Replace
NotificarePushIntentReceiver
'sonTokenChanged()
withonSubscriptionIdChanged()
Breaking changes
NotificareDevice.id
attribute no longer contains the push token. UseNotificare.push().subscriptionId
instead.- The
NotificareDevice
data model was reduced to only publicly relevant attributes. onDeviceRegistered
only triggers once, when the device is created.launch()
,unlaunch()
,enableRemoteNotifications()
anddisableRemoteNotifications()
become suspending functions that complete after all the work is done.NotificareTransport
was moved to the push module.- Drops support for the monetize module.
- Drops support for Huawei Mobile Services.
- Drops support for v1 passes in-app wallet.
- Removed deprecated
onNotificationReceived(context, notification)
. UseonNotificationReceived(context, notification, deliveryMechanism)
instead. - Removed
INTENT_ACTION_BEACON_NOTIFICATION_OPENED
from the notificare-geo-beacons module. This intent was previously moved to the notificare-geo module. - Removed deprecated
Notificare.OnReadyListener
. Use the more completeNotificare.Listener
instead.