So what is the "best practice" in using the react-onesignal module? I see people trying to initialize (here or here and on stackoverflow) the library, but no luck with ordinary ways. Is it expected to use something like <Helmet> or initialize in another way?
If one follows instructions on the documentation, it throws an error:
oneSignal.ts:150 GET https://cdn.onesignal.com/sdks/OneSignalSDK.js
net::ERR_BLOCKED_BY_CLIENT
Can you please elaborate what is the minimal "correct" way of initialization?
It was related to uBlock ad-blocker extension. For some reason this is the only one ad-blocker which has the cdn.onesignal.com URL in it's blacklist. Some details here.
Hi,
So what is the "best practice" in using the react-onesignal module? I see people trying to initialize (here or here and on stackoverflow) the library, but no luck with ordinary ways. Is it expected to use something like
<Helmet>
or initialize in another way?If one follows instructions on the documentation, it throws an error:
Can you please elaborate what is the minimal "correct" way of initialization?