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

188
Views
Solicitar permiso que no aparece en fcm para django

Estoy usando gitpod para probar las notificaciones automáticas que configuré en DJnago usando firebase. Todo salió bien, pero al final no apareció el cuadro de diálogo de solicitud de permiso. No estoy seguro de cuál es la causa.

El enlace que seguí es este:

https://blog.hipolabs.com/testing-push-notifications-localmente-con-firebase-ef052531af03

Se suponía que vendría así:

ingrese la descripción de la imagen aquí

Pero en el mío aparece así:

ingrese la descripción de la imagen aquí

Falta el botón de solicitud de permiso en el mío. He hecho varios intentos pero el mismo resultado. El archivo index.html se ve así:

 function requestPermission() { console.log('Requesting permission...'); Notification.requestPermission().then((permission) => { if (permission === 'granted') { console.log('Notification permission granted.'); // TODO(developer): Retrieve a registration token for use with FCM. // In many cases once an app has been granted notification permission, // it should update its UI reflecting this. resetUI(); } else { console.log('Unable to get permission to notify.'); } }); }
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!