Skip to content
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

Firebase Messaging does not works on Ungoogled Chromium #2867

Closed
1 of 3 tasks
CypherPotato opened this issue May 17, 2024 · 5 comments
Closed
1 of 3 tasks

Firebase Messaging does not works on Ungoogled Chromium #2867

CypherPotato opened this issue May 17, 2024 · 5 comments
Labels
bug need info Need feedback to proceed

Comments

@CypherPotato
Copy link

OS/Platform

Windows

Installed

https://ungoogled-software.github.io/ungoogled-chromium-binaries/

Version

122.0.6261.94

Have you tested that this is not an upstream issue or an issue with your configuration?

  • I have tried reproducing this issue in Chrome and it could not be reproduced there
  • I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
  • I have tried reproducing this issue in ungoogled-chromium with a new and empty profile using --user-data-dir command line argument and it could not be reproduced there

Description

Firebase Messaging does not works on Ungoogled Chromium

How to Reproduce?

Details on tracking issue on Firebase repo: firebase/firebase-js-sdk#8252

Actual behaviour

The getToken method of the Firebase Messaging SDK does not works on Ungoogled Chromium but does works in other browsers.

Expected behaviour

It should return an messaging token.

No additional extensions were enabled on this context.

Relevant log output

No response

Additional context

No response

@PF4Public
Copy link
Contributor

Does it work in vanilla Chromium?

@PF4Public PF4Public added the need info Need feedback to proceed label May 17, 2024
@CypherPotato
Copy link
Author

@PF4Public not reproducible on vanilla chromium v127.

I'm thinking that the bug happens because in ungoogled chromium, all texts that contain "google" are removed from the build binary, which means that the browser can't listen to the google push service.

@PF4Public
Copy link
Contributor

PF4Public commented May 18, 2024

Well, then it is a feature, not a bug :)

I'll keep it open for some time to gather more opinions, but I doubt that fixing it aligns well the project goals.

@CypherPotato
Copy link
Author

It's not a browser problem, but I've spent a few hours debugging the problem until I realized that the Unchromium Push Service address "didn't exist" :)

The opinion I can point to is not allowing sites to try to register service workers that listen for background notifications, or making it more explicit that "push messaging doesn't work in this browser. don't even try to integrate."

@networkException
Copy link
Member

hm, thats probably not straight forward to implement.

I'd assume people would interpret "Removes all remaining background requests to any web services while building and running the browser" as also not having support for push, as that requires a connection thats kept alive in the background

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug need info Need feedback to proceed
Projects
None yet
Development

No branches or pull requests

3 participants