Skip to content

Not registering for notifications #1

@fabstao

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 😁

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions