-
Notifications
You must be signed in to change notification settings - Fork 115
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
OneSignal does not with the Brave browser #526
Comments
Hello, |
Closing due to no response |
Hi, is there any chance of having an update on this. It seems Brave is preventing OneSIgnal's worker |
@kiily It seems Brave blocks installing the OneSignal service worker file I see the following error from the console which I determined the above from.
Even when "disabling the shields" by clicking on Brave icon to the right of the Address bar. I recommend reporting this to Brave in hopes they can resolve this problem, at least for when the shields are down. |
Yeah seems to be what I have observed as well. I'll get in touch with them. Thank you. |
Having same issue
|
Separating the issue of it not working even without shields, the core issue is that Brave uses Easy List to block 3rd party scripts. From my own conversations with the Brave team, it looks like they will not consider whitelisting certain URLs such as onesignal.com. To fix this, it would need to be removed from Easy List. However, Easy List has a strict policy and will block ANY 3rd party script that does any tracking whatsoever (such as session tracking -- regardless if no PID is collected). So unfortunately this doesn't look like it will be easily resolved. As an idea, we may be able to develop a "lite" version of the OneSignal SDK in the far future as privacy browsers increase in popularity that provides basic push functionality and not much else. |
@rgomezp It'd be great if we could proxy the request just like an analytics tool called Splitbee does at least for Next.js |
Any update about that? |
@abhagsain @bnd170 , |
is there any update on this? |
From what I can tell, OneSignal is no longer blocked completely as I see the message received via the console. However, the message is not displaying. Testing on tests.peter.sh doesn't appear to work either. So I'm not completely familiar with what Brave is doing behind the scenes, but it appears to me they don't fully support push notifications in general. |
After disabling Brave Shields the console error goes away, but there are 40 warnings all pertaining to
I have no idea if this is what prevents OneSignal's alert from working in Brave when asking for the user's permission to subscribe. |
Brave on desktop seems to disable push notifications by default (I don't think this is an issue on Android): However once you enable this Brave setting on desktop and restart the browser that example push does work on tests.peter.sh. |
Very interesting. It would be nice for this to be default on. |
I created an issue with Brave with the shields down not working: |
I am integrating OneSignal in my Vue app. it works good with Chrome but I am mainly use Brave and it seems it does not work. Any idea or suggestions?
The text was updated successfully, but these errors were encountered: