Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

59
Views
How to force websockets on Firebase 9?

Before Firebase 9, you could force websockets instead of long polling. After upgrading to 9, we can't get long-polling working, even after loosening out content security policy a lot. What's the right approach to enable this?

We used to be able to enable this easily with: database.app.firebase_.database.INTERNAL.forceWebSockets()


Related to this question but the answer requires hardcoding ws:// instead of http:// (and further says this is not recommended.)

Our code is shared across platforms and we need to be able to force websockets on one platform while leaving the values untouched on another.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!