OneSignal/react-onesignal

[Bug]: Login: No identity model found

arian921017 opened this issue · 3 comments

What happened?

"react-onesignal": "^3.0.1",

When I am using import OneSignal from 'react-onesignal'

OneSignal.login(id, token.oneSignalUserIdToken)

new user login show error:

LoginManager.js:95 n: Login: No identity model found
at Cn. (https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.es6.js?v=160002:1:262495)
at Generator.next ()
at r (https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.es6.js?v=160002:1:325606)

image

What browsers are you seeing the problem on?

Chrome (Chromium)

What operating system are you running?

macOS Ventura 13.0

Steps to reproduce?

OneSignal.login(id, token.oneSignalUserIdToken)

new user login show error:

LoginManager.js:95 n: Login: No identity model found
    at Cn.<anonymous> (https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.es6.js?v=160002:1:262495)
    at Generator.next (<anonymous>)
    at r (https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.es6.js?v=160002:1:325606)

What did you expect to happen?

we can log in correctly and then perform personalized push

Relevant log output

No response