Skip to content

5.1.1

Choose a tag to compare

@cio-mobile-release cio-mobile-release released this 27 Oct 18:39
· 12 commits to main since this release

5.1.1 (2026-10-27)

Who this affects

  • Apps that call MessagingPushAPN.initialize or MessagingPushFCM.initialize with automatic token fetching on (the default) and don't use CioAppDelegateWrapper. The SDK replaced the app delegate's own application(_:didRegisterForRemoteNotificationsWithDeviceToken:), and for APNs didFailToRegisterForRemoteNotificationsWithError, so code there stopped running, for example passing the token to another SDK. Calling initialize a second time also turned automatic token fetching off.
  • Your app's own callbacks now run first, then the SDK's, and initializing twice is safe. No code changes needed.
  • Apps that use CioAppDelegateWrapper aren't affected. That includes the React Native, Flutter and Expo setups, which pick this up with their next native iOS update.

Bug Fixes

  • keep the app delegate's push registration callbacks when auto-fetching the token (#1373) (8a4072a)