Skip to content

Not registering for notifications #1

Description

@fabstao

Hi!

This is my code:

        Cocoon.Notification.Local.initialize({}, function(registered) {
            if (!registered) {
                alert('Notificaciones deshabilitadas por el usuario');
                Cocoon.Notification.Local.register();
            }
            else {
                //sendNotification(); 
            }
        });
mandaNotificacion("No circula:","Mañana no circula la placa "+$('#placas').val());

I receive a not registered error and notifications are not working,

please help 😁

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions