Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

iOS 13 and OneSignal Registration Issues
Started by MBD Oct 08 2019 09:48 AM

4 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

MBD

[GLOBAL: userInfoPane.html]
MBD
  • Contributor

  • 388 posts
  • Corona SDK

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

2019-10-08 12:00:08.956405-0500 xxxxxxx[5211:2433529] ERROR: Error registering with OneSignal: Error Domain=OneSignalError Code=400 "(null)" UserInfo={returned={
    errors =     (
        "[\"Identifier invalid format.\"]"
 
The app builds and installs but won't register any iOS 13 devices with OneSignal
 
Note: I am building in xCode 11
 
OneSignal posted this relating to iOS 13 challenges: https://onesignal.com/blog/ios-13-introduces-4-breaking-changes-to-notifications/
 
But it's not specific to Corona / Native
 
https://github.com/OneSignal/OneSignal-iOS-SDK/issues/529 specifies that xCode 10 or below will still build and work for OneSignal iOS apps.
 
OneSignal has released some native source to the "fix" for iOS 13 building on xCode 11 - but it doesn't help us Corona plugin users. https://github.com/OneSignal/OneSignal-iOS-SDK/releases/tag/2.10.1
 
Any insight here guys?
 
Thanks!
 
 


[TOPIC: post.html]
#2

tech47

[GLOBAL: userInfoPane.html]
tech47
  • Enthusiast

  • 49 posts
  • Corona SDK

Hi,

 

We have noticed this problem as well, occurs with 2019.3538 and xCode 11.1

 

Any information on a fix?

 

Regards,

 

Keetiz tech



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,207 posts
  • Enterprise

OneSignal maintains their own Corona plugin. I would suggest reaching out to them and ask them to update it.

 

Rob



[TOPIC: post.html]
#4

josh_OneSignal

[GLOBAL: userInfoPane.html]
josh_OneSignal
  • Enthusiast

  • 58 posts
  • Corona SDK

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.



[TOPIC: post.html]
#5

MBD

[GLOBAL: userInfoPane.html]
MBD
  • Contributor

  • 388 posts
  • Corona SDK

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.




[topic_controls]
[/topic_controls]