Skip to content

Releases: Notificare/notificare-sdk-android

4.0.1

23 Dec 12:51
3c1645a
Compare
Choose a tag to compare
  • Add documentation to public methods
  • Remove User Inbox messages from the notification center when appropriate
  • Cancel in-app message job immediately upon being suppressed
  • Fix missing onMessageFinishedPresenting event when an in-app message action is executed

4.0.0

03 Oct 16:21
68fac5a
Compare
Choose a tag to compare
  • Device identifiers become long-lived
  • Keep weak references for listeners to prevent memory leaks
  • Fix padding discrepancies in alert dialog with actions
  • launch(), unlaunch(), enableRemoteNotifications() and disableRemoteNotifications() become suspending functions with a callback alternative
  • Removed peer modules. Main modules now include Google Play Services libraries by default.
  • Add support for customisable hosts
  • Replace NotificarePushIntentReceiver's onTokenChanged() with onSubscriptionIdChanged()
  • Renamed NotificarePushService to NotificareFirebaseMessagingService.
  • Replaced isNotificareNotification Kotlin extension with NotificarePush.isNotificareNotification().
  • Add Notificare.push().parseNotificationOpenedIntent(intent) to ease processing the intent.
  • Add Notificare.push().parseNotificationActionOpenedIntent(intent) to ease processing the intent.
  • Allow configure() to be called more than once, provided Notificare is unlaunched.

Breaking changes

  • NotificareDevice.id attribute no longer contains the push token. Use Notificare.push().subscription instead.
  • The NotificareDevice data model was reduced to only publicly relevant attributes.
  • onDeviceRegistered only triggers once, when the device is created.
  • launch(), unlaunch(), enableRemoteNotifications() and disableRemoteNotifications() 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). Use onNotificationReceived(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 complete Notificare.Listener instead.
  • Renamed NotificarePushService to NotificareFirebaseMessagingService.
  • Removed isNotificareNotification Kotlin extension.

4.0.0-beta.2

03 Sep 10:22
908aa90
Compare
Choose a tag to compare
4.0.0-beta.2 Pre-release
Pre-release
  • Changed the subscriptionId properties to a more robust data model
  • Removed peer modules. Main modules now include Google Play Services libraries by default.
  • Renamed NotificarePushService to NotificareFirebaseMessagingService.
  • Replaced isNotificareNotification Kotlin extension with NotificarePush.isNotificareNotification().
  • Add Notificare.push().parseNotificationOpenedIntent(intent) to ease processing the intent.
  • Add Notificare.push().parseNotificationActionOpenedIntent(intent) to ease processing the intent.
  • Allow configure() to be called more than once, provided Notificare is unlaunched.

Breaking changes

  • Renamed NotificarePushService to NotificareFirebaseMessagingService.
  • Removed isNotificareNotification Kotlin extension.

4.0.0-beta.1

26 Jul 13:52
e103ac2
Compare
Choose a tag to compare
4.0.0-beta.1 Pre-release
Pre-release
  • 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() and disableRemoteNotifications() become suspending functions with a callback alternative
  • Add support for customisable hosts
  • Replace NotificarePushIntentReceiver's onTokenChanged() with onSubscriptionIdChanged()

Breaking changes

  • NotificareDevice.id attribute no longer contains the push token. Use Notificare.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() and disableRemoteNotifications() 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). Use onNotificationReceived(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 complete Notificare.Listener instead.

3.10.0

01 Jul 12:43
f756ff6
Compare
Choose a tag to compare
  • Add support for the URLResolver notification type
  • Fix anonymous device registration

3.9.1

14 Jun 16:53
a6c1b8a
Compare
Choose a tag to compare
  • Preload in-app message's images

3.9.0

23 Apr 10:41
ecc02ed
Compare
Choose a tag to compare
  • Add support for deferred links

3.8.0

07 Mar 12:11
f47dfbd
Compare
Choose a tag to compare
  • Prevent processing location updates too close to the last known location
  • Fix race condition where geo triggers and region sessions were sent multiple times
  • Limit the amount of location points and ranged beacons in geo sessions

3.7.1

26 Jan 11:44
fbed71e
Compare
Choose a tag to compare
  • Fix map loading conditionals leading to no camera updates

3.7.0

18 Jan 12:42
7a59882
Compare
Choose a tag to compare
  • Adjusted zoom level when presenting a single map marker
  • Fix Google Play Services Location minification issue

Important changes since 3.6.1

  • Add manifest flag to disable the auto configuration
  • Automatically enable remote notifications during launch when possible
  • Automatically enable location updates during launch when possible
  • Prevent the device_registered event from invoking before the ready event
  • Fix warning when notification intents are handled by the broadcast receiver
  • Include proguard rule to work around the issue with Moshi in R8
  • Fix crash when presenting an in-app browser when the phone has none installed
  • Fix getParcelableExtra on API 33 in certain cases

Important notice: Re-enabling remote notifications and location services is no longer required.
You can safely remove the following piece of code as the SDK will automatically handle it for you during the launch flow.

override fun onReady(application: NotificareApplication) {
    // This check is no longer necessary.
    if (Notificare.push().hasRemoteNotificationsEnabled) {
        Notificare.push().enableRemoteNotifications()
    }

    // This check is no longer necessary.
    if (Notificare.geo().hasLocationServicesEnabled) {
        Notificare.geo().enableLocationUpdates()
    }
}