-
Notifications
You must be signed in to change notification settings - Fork 116
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
(Host) isUsingSubscriptionWorkaround() cannot be called until OneSignal.config exists #886
Comments
Howdy, Cheers |
Is there any solution to this problem? I am having the same problem. |
Any update on this? i followed the documentations and it leads me to this error |
@tcetin @HendryVarianto14 |
Same error. Next.js 12
Added init to per-page layout (https://nextjs.org/docs/basic-features/layouts#per-page-layouts):
Error:
|
@nehalist you resolved this error? |
"Solved" isn't probably the right word, but adding |
I hit this same issue. Problem is that init is async, so you have to either await that or use .then before calling login. |
anyone solve this issue? |
@hishabee-nazu yes, see my comment above |
Thanks, man, It's working. I have just unexpectedly commented out my initial app calling |
tnx, man !) |
Description:
I am tried to follow this guide to setup website push notification example.
On load I get this error
Steps to Reproduce Issue:
https://github.com/zhex900/push-msg
appId
is correct. Try to run it.yarn
yarn dev
The text was updated successfully, but these errors were encountered: