Skip to content

[Bug]: iOS login doesn't link external id with subscription id #1035

@FedeRotoli

Description

@FedeRotoli

What happened?

During the push notification tests for my app i've encountered the following error.

Image

The users that I login in OneSignal with the external_id of my database are not synchronized with the subscription id.
This type of error is only encountered when i login with an apple device.
On the dashboard of OneSignal seems all ok with external_id and subscription_id (it also show the green badge 'Subscribed') but when i send the request it tells me that no players are subscribed with the following external id.

Following the code for the login.

Image

Any help?

Steps to reproduce?

1. Install Flutter SDK
2. Setup iOS Configuration
3. Login in OneSignal in App
4. Try to send a request to the external_id

What did you expect to happen?

I expect to receive the notification on the iOS device.

Only if I use directly the subscription_id it works.
So it's not an Apple configuration problem.

OneSignal Flutter SDK version

Release 5.3.2

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

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