Onesignal-ios-sdk: About email: URGENT & IMPORT iOS 13 Update Changes

Created on 6 Sep 2019  路  10Comments  路  Source: OneSignal/OneSignal-iOS-SDK

Hello guys,

I have been received an email with subject is: "URGENT & IMPORT iOS 13 Update Changes"

So, I would like to know if I have 2.8.4 version, Do I need to update the SDK via cocoapods to 2.10.2 just? Or, do I need to migrate some code?

Thank you!

Question

Most helpful comment

I have one question regarding this email as well... it's not entirely clear if this only applies to the apps that will be built with the new version of the iOS SDK, or if iOS 13 breaks this for current apps already on the appstore.

All 10 comments

I have one question regarding this email as well... it's not entirely clear if this only applies to the apps that will be built with the new version of the iOS SDK, or if iOS 13 breaks this for current apps already on the appstore.

Could you help us @mikechoch?

Hello all,
If you would like to avoid any issues, you will want to update the SDK and ship a new build asap. iOS 13 _will_ indeed break the push-token retrieval technique for existing app builds that have not made the change. Releasing an update asap is the best way to ensure the transition is made smoothly.

@rgomezp Thanks for the reply. In that case we will update the app as soon as possible.

We did test our app on a device running iOS 13 beta and push notifications were working fine. But if I understand this, the issue is with push token retrieval? So users that have the app already installed should still be ok (unless their push token changes)?

That's right. Existing users won't be impacted. This would just impact new subscribers.

@rgomezp Thank you very much for your explanation.

My pleasure!

That's right. Existing users won't be impacted. This would just impact new subscribers.

Hi @rgomezp ,
I updated my app (in production) with onesignal-cordova-plugin 2.6.0.
Notification where working normally under IOS 12, then I updated the device today to IOS 13 and they totally stopped working.
I had to uninstall and reinstall the app to make it work under IOS 13, is that the correct behavior ?

@geshub ,
You have to make sure to build the app with the latest XCode version

In general we always recommend updating to the latest SDK to ensure you have the latest maintenance updates and bug fixes.

Specifically for this token issue if you build your app with Xcode 11 you will need to make sure to update the OneSignal-iOS-SDK 2.10.1 or newer.

The OneSignal-iOS-SDK 2.10.0 and older still works on iOS 13 devices if your app was build with Xcode 10 or older. Apple will still allow you to ship new app updates until April 2020 at which point you must update to Xcode 11.

Was this page helpful?
0 / 5 - 0 ratings