I cannot use Onesignal in Reactjs/Next.JS

Asked

Viewed 48 times

0

I’m making an implementation, using Next.JS and I’m using Onesignal to send push notifications to users. The big problem is that the public directory of index.html cannot be changed as it has many sensitive SEO tags. I have tried to use several repositories that wrap the Onesignal API, such as React-onesignal, onesignal-Node, Node-onesignal, even so the notification to sign up pro push does not appear in the application.

I tried to do the same test a simple site, made with only HTML and CSS, I climbed it on the host and configured the domains normally in Onesignal, again, the application did not return even the button to sign the pushs.

When searching Google or Stackoverflow on this subject, many people have the same question as me, how to install and/or use it in React JS.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.