Closed arian921017 closed 1 year ago
@arianshirepublik How did you fix the issue?
@arianshirepublik How did you fix the issue?
Hi @emiltsang-flow
The V3 version has user identification problems will occur. Use the V2 version. "react-onesignal": "2.0.3",
https://github.com/OneSignal/react-onesignal/blob/user-model/v1/MigrationGuide.md
Thanks @arianshirepublik ,
lets see whether i can find the corresponding release in the vue
version.
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)
What browsers are you seeing the problem on?
Chrome (Chromium)
What operating system are you running?
macOS Ventura 13.0
Steps to reproduce?
What did you expect to happen?
we can log in correctly and then perform personalized push
Relevant log output
No response