You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
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?
Relevant log output
To native (Cordova plugin): callbackId: OneSignalPush1167584465, service: OneSignalPush, action: login, actionArgs: ["360"]
Code of Conduct
The text was updated successfully, but these errors were encountered: