[Bug]: Initilization on Firefox doesn't work.
sshanzel opened this issue · 5 comments
sshanzel commented
What happened?
Works perfectly on Chrome, but on Firefox, the app using the package is not working. It doesn't give any errors/warnings so it is a bit difficult to know where the issue could be coming from.
One thing I noticed though is that, in Chrome, the indexedDb is automatically created once initialized, but on Firefox, you won't see any relevant database.
Not sure though if this only happens in local development.
Steps to reproduce?
1. Install `react-onesignal`.
2. Run app initializing the SDK.
3. Test on Chrome (to verify it works, and it did - even sent messages from the dashboard).
4. Test on Firefox (doesn't work - not even registered on the Subscribed page in dashboard).
What did you expect to happen?
Should work smoothly like on Chrome. Should have been initialized as intended.
Relevant log output
When you execute OneSignal.isPushNotificationsSupported();
- it returns false
.
Firefox v108.0.1
MacOS v12.5.1
sshanzel commented
After checking on production, it seems to only happen on local development.
rgomezp commented