Releases: Notificare/notificare-sdk-flutter
Releases · Notificare/notificare-sdk-flutter
4.0.1
- Add documentation to public methods
- Add flag to allow excluding beacons dependency
Native changes
iOS
- Remove User Inbox messages from the notification center when appropriate
- Fix refresh badge calls error handling when auto badge is off
- Fix crash when sending photos using the camera notification action
- Fix camera notification action behaviour when no camera permission is granted, opening the photo library
Android
- 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
- Device identifiers become long-lived
- Add methods to register callbacks in order to handle background location events on Android
- Add support for customisable hosts
- Add
NotificarePush.onSubscriptionChanged
event for push token updates launch()
,unlaunch()
,enableRemoteNotifications()
anddisableRemoteNotifications()
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. UseNotificarePush.subscription
insteadNotificareDevice.transport
attribute no longer contains the transport. UseNotificarePush.transport
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
4.0.0-beta.2
- Changed the
subscriptionId
properties to a more robust data model - Add methods to register callbacks in order to handle background location events on Android
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.subscriptionId
insteadNotificareDevice.transport
attribute no longer contains the transport. UseNotificarePush.transport
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
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.listen((application) async {
// 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