Releases: Notificare/notificare-sdk-cordova
Releases · Notificare/notificare-sdk-cordova
4.0.0-beta.1
- Device identifiers become long-lived
- Add
NotificarePush.onSubscriptionIdChanged
event for push token updates
Breaking changes
- Drops support for the monetize module
- Drops support for Huawei Mobile Services
NotificareDevice.id
attribute no longer contains the push token. UseNotificarePush.getSubscriptionId()
insteadNotificareDevice.transport
attribute no longer contains the transport. UseNotificarePush.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. UseNotificarePush.onNotificationInfoReceived(notification, deliveryMechanism)
instead
Native changes
Android
- Fix padding discrepancies in alert dialog with actions
3.10.0
3.9.1
3.9.0
3.8.0
- Add method to resolve Notificare Dynamic Links manually
Native changes
Android
- 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
iOS
- 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
- Improve polygon regions handling
- Improve notifications UI
3.7.0
- Prepare compatibility with Cordova 13
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.
Notificare.onReady(async (application) => {
// This check is no longer necessary.
if (await NotificarePush.hasRemoteNotificationsEnabled()) {
await NotificarePush.enableRemoteNotifications();
}
// This check is no longer necessary.
if (await NotificareGeo.hasLocationServicesEnabled()) {
await NotificareGeo.enableLocationUpdates();
}
});
Native changes
Android
- Fix map loading conditionals leading to no camera updates
- 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 theready
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
iOS
- Prevent the
device_registered
event from invoking before theready
event - Automatically enable remote notifications during launch when possible
- Automatically enable location updates during launch when possible
- Drop support for iOS 12.0