Skip to content

4.0.0

Latest
Compare
Choose a tag to compare
@hpinhal hpinhal released this 07 Oct 16:24
cef8459
  • Device identifiers become long-lived
  • Add support for customisable hosts
  • Add NotificarePush.onSubscriptionChanged event for push token updates
  • launch(), unlaunch(), enableRemoteNotifications() and disableRemoteNotifications() functions now complete after all the work is done

Breaking changes

  • Drops support for the monetize module
  • Drops support for Huawei Mobile Services
  • NotificareDevice.id attribute no longer contains the push token. Use NotificarePush.getSubscription() instead
  • NotificareDevice.transport attribute no longer contains the transport. Use NotificarePush.getTransport() instead
  • The NotificareDevice data model was reduced to only publicly relevant attributes
  • onDeviceRegistered only triggers once, when the device is created
  • Removed deprecated NotificarePush.onNotificationReceived(notification) event. Use NotificarePush.onNotificationInfoReceived(notification, deliveryMechanism) instead
  • All event listeners has been changed to only return a Promise. Resulting in Promise<PluginListenerHandle> instead of Promise<PluginListenerHandle> & PluginListenerHandle

Native changes

Android
  • Fix padding discrepancies in alert dialog with actions
iOS
  • Fix NotificarePass.data decoding