Skip to content

3.7.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@hpinhal hpinhal released this 09 Jan 15:08
· 378 commits to main since this release
40797ec
  • Prevent the device_registered event from invoking before the ready event
  • Automatically enable remote notifications during launch when possible
  • Automatically enable location updates during launch when possible
  • Drop support for iOS 12.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.

func notificare(_ notificare: Notificare, onReady application: NotificareApplication) {
    // This check is no longer necessary.
    if Notificare.shared.push().hasRemoteNotificationsEnabled {
        Notificare.shared.push().enableRemoteNotifications { _ in }
    }

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