OneSignal-Flutter-SDK icon indicating copy to clipboard operation
OneSignal-Flutter-SDK copied to clipboard

[Bug]: iOS subscriptions are not created

Open maxence-futures opened this issue 3 months ago • 1 comments

What happened?

Once the application is initialized and the user is logged in with the external ID, no subscription is created and these errors are returned. This issue is not systematic and only affects certain iOS devices.

Steps to reproduce?

1. Install sdk 
2. Init app
3. log with external ID
4. ask request for permissions

What did you expect to happen?

I expect the device to be linked to the previously created user, and for the user to receive notifications.

OneSignal Flutter SDK version

5.3.4

Which platform(s) are affected?

  • [x] iOS
  • [ ] Android

Relevant log output

Couldn't read values in CFPrefsPlistSource<0x105da5100> (Domain: group.com.futureslearn.futures.onesignal, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd

WARNING: OneSignalUserManagerImpl.startNewSession() is unable to fetch user with External ID nil due to null OneSignal ID
ERROR: OSSubscriptionOperationExecutor update subscription request failed with 
error: <OneSignalClientError: 0x137e5b060>
ERROR: OSSubscriptionOperationExecutor update subscription request failed with error: <OneSignalClientError: 0x137e5b2a0>
ERROR: OSSubscriptionOperationExecutor update subscription request failed with error: <OneSignalClientError: 0x137e5b930>

ERROR: OSUserExecutor create user request failed with error: <OneSignalClientError: 0x137e5a880>

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

maxence-futures avatar Aug 26 '25 21:08 maxence-futures