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]: Login: No identity model found #46

Open
emiltsang-flow opened this issue Mar 15, 2024 · 0 comments
Open

[Bug]: Login: No identity model found #46

emiltsang-flow opened this issue Mar 15, 2024 · 0 comments

Comments

@emiltsang-flow
Copy link

What happened?

"onesignal-vue": "^2.0.1"
OSModelStore.js:32 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'modelId')
at Ji.subscribeUpdateListener (OSModelStore.js:32:41)
at Ji.add (OSModelStore.js:16:14)
at en.add (CoreModuleDirector.js:106:32)
at tn. (LoginManager.js:113:9)
at Generator.next ()
at r (tslib.es6.js:118:58)

When I try to call the this.$OneSignal.login(EXTERNAL_ID), I got this error.

What browsers are you seeing the problem on?

Chrome (Chromium)

What operating system are you running?

macOS 14.1

Steps to reproduce?

1. Install "onesignal-vue": "^2.0.1"
2. Run the app
3. invoke this.$OneSignal.login(EXTERNAL_ID)
4. console error Cannot read properties of undefined (reading 'modelId')

What did you expect to happen?

Able to set the external id to one signal user

Relevant log output

OSModelStore.js:32 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'modelId')
    at Ji.subscribeUpdateListener (OSModelStore.js:32:41)
    at Ji.add (OSModelStore.js:16:14)
    at en.add (CoreModuleDirector.js:106:32)
    at tn.<anonymous> (LoginManager.js:113:9)
    at Generator.next (<anonymous>)
    at r (tslib.es6.js:118:58)
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