Skip to content

7.2.10

Choose a tag to compare

@PushwooshCI PushwooshCI released this 15 Oct 13:58
· 2 commits to master since this release

New Features

  • Added feature flags: Pushwoosh.configure.featureFlags reads flags evaluated by Pushwoosh for the device and user from a local cache, without blocking on the network. The SDK keeps the cache fresh on its own; refresh(completion:) requests new values on demand, addUpdateListener(_:) reports changes, and logImpression(_:) records which branch the user was shown
    let flags = Pushwoosh.configure.featureFlags
    let newCheckout = flags.isEnabled("new_checkout", default: false)
    flags.logImpression("new_checkout")
  • The SDK now reports the push permission status to Pushwoosh: granted_explicit, provisional, ephemeral, denied or not_determined. Pushwoosh.configure.getRemoteNotificationStatus() returns it under the push_permission_status key, and a change after the permission prompt reaches Pushwoosh right away

Bug Fixes

  • Fixed the PushwooshKeychain module not restoring the HWID after an app reinstall when the SDK core loaded before the module
  • Fixed a failed server response switching the server address of SDK requests; a new server address is now applied only from a successful response
  • Fixed startLiveActivityWithToken:activityId:completion: sending an empty token to the server; a missing or empty token now completes with an error