Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

141
Visualizações
Bypass notification request popup for FCM data messages?

I am developing a React JS application in which I would like the user to receive real-time updates which would trigger a re-render of the page. As I am using Firebase for my backend, I am currently trying to achieve this using Cloud Messaging by sending data messages (not notifications) to a topic the user is subscribed to.

As I am only sending data messages that would update the content of the page, I would like to avoid to have to ask the user to allow notifications through this popup:

enter image description here

Is there a way that this could be done, or another service one could suggest? I have also looked into Google PubSub as I am already on GCP, but it appears that is less for sending data to user devices and more for between services.

Edit: It also appears that in iOS and Android, data messages are still received even when notifications are disabled by the user. However, based on my testing this does not seem to be the case on web. When the user blocks notifications, it seems to automatically unregister the registration token. Is there any way around this? It would be also suitable for my purposes if the user was shown the popup but could still receive data messages regardless of their decision.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda