You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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