Is anyone else aware of an iOS 13 related issue with using OneSignal? I’m getting this error now in my enterprise Corona app (native but using Corona as UI)
Couldn’t read values in CFPrefsPlistSource<0x28327c900> (Domain: group.xxxxx.xxxxxxx, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
The token issue was fixed in our native SDK in OneSignal-iOS-SDK version 2.10.1. The OneSignal Corona wrapper / bridge SDK is still using an older version however. We will be updating the SDK soon to fix this issue.
As a workaround you if you build your app with Xcode 10.3 then iOS 13 devices will be able to register without an issue. This works as iOS 13 will detect how the app was linked and fallback to the old token format.
Thanks for letting me know! I am downloading xCode 10.3 now as I’m building using 11 otherwise. Hopefully, this gets me through until the SDK gets updated.
I’m sorry Usman. I’m not clear as to what you’re asking about. We recommend that you use the notification-v1 plugin for iOS since the v2 is mostly support for the Firebase FCM system, which Google had hoped could work for both Android and iOS, but really hasn’t worked all that well.
After some study, trial and error - and finally just throwing in the towel, the only way I got push alerts to work with Corona & One signal was to go back to xCode 10.3 and load the individual phone profiles as outlined here: