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
After giving permission for Web Push, and trying to get PushSubscription.id I keep getting error instead of the id
What browsers are you seeing the problem on?
Chrome (Chromium)
What operating system are you running?
macOS Monterey v12.7
Steps to reproduce?
1. Installed React-Onesignal
2. Ask Permission for web push
3. console push id
What did you expect to happen?
I expected to get the push id
Relevant log output
SessionManager.js:70 Uncaught (in promise) n: Abort _getOneSignalAndSubscriptionIds: no subscription
at $t.<anonymous> (https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.es6.js?v=160101:1:102170)
at Generator.next (<anonymous>)
at r (https://cdn.onesignal.com/sdks/web/v16/OneSignalSDK.page.es6.js?v=160101:1:260398)
n: processSubscriptionModel: missing onesignalId: {"subscribers":{},"modelName":"pushSubscriptions","modelId":"9boxjm6ty9u","data":{"type":"ChromePush","token":"*******","enabled":true,"notification_types":1,"sdk":"160101","device_model":"MacIntel","device_os":120,"web_auth":"*******","web_p256":"********"},"awaitOneSignalIdAvailable":{}}
The text was updated successfully, but these errors were encountered:
What happened?
After giving permission for Web Push, and trying to get PushSubscription.id I keep getting error instead of the id
What browsers are you seeing the problem on?
Chrome (Chromium)
What operating system are you running?
macOS Monterey v12.7
Steps to reproduce?
What did you expect to happen?
I expected to get the push id
Relevant log output
The text was updated successfully, but these errors were encountered: