Skip to content

[Bug]: Using OneSignal.login() does not set externalId in Subscription Records #2043

Description

@sebastinto

What happened?

Calling OneSignal.login() does not seem to be updating Subscription Records i.e. the External ID column values are unset. OneSignal.User.externalId is correctly set on device.

I tried on a fresh install, multiple device, calling OneSignal.logout() before OneSignal.login() to no avail. I'm wondering if there's anything I may be missing.

Tags are set correctly.

Steps to reproduce?

1. Initialize SDK
2. Call OneSignal.login() with a value (e.g. "1234")
3. Observe Subscription Records External ID does not update

What did you expect to happen?

External ID updates in Subscription Records.

OneSignal Android SDK version

Release 5.1.7

Android version

13

Specific Android models

* Pixel 8 Pro
* Samsung S20 5G

Relevant log output

os_log.txt

Code of Conduct

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions