Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: External id and alias not set #1042

Open
2 of 3 tasks
csotiMatyas opened this issue Feb 5, 2025 · 0 comments
Open
2 of 3 tasks

[Bug]: External id and alias not set #1042

csotiMatyas opened this issue Feb 5, 2025 · 0 comments

Comments

@csotiMatyas
Copy link

What happened?

So the initial issue was, some users did not have an external_id, after some digging i found that .login does not seem to do anything, then tried to see if addAlias maybe is reflected. Then fired up android studio to see the outgoing requests and that should be fired for said actions, and they dont show up in network inspector ( other native requests do show up ). The only log thats shows up in logcat is:
To native (Cordova plugin): callbackId: OneSignalPush1167584465, service: OneSignalPush, action: login, actionArgs: ["360"]

Phones used: Android 12 and Huawei android 12

Steps to reproduce?

Install onesignal-cordova-plugin, call initialize then login.

What did you expect to happen?

I expect calling login to set the external_id of a subscription, like log out -> log in -> and the subs external_id is updated. Or if a sub does not have for whatever reason an external_id, then calling login to set it.

OneSignal Cordova SDK version

5.2.8

Which platform(s) are affected?

  • iOS
  • Android

Relevant log output

To native (Cordova plugin): callbackId: OneSignalPush1167584465, service: OneSignalPush, action: login, actionArgs: ["360"]

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant