Skip to content

[Bug]: iOS subscriptions are not created #1061

@maxence-futures

Description

@maxence-futures

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?

  • 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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions