Skip to content

Notification click event #60

Description

@stesvis

Is there a way to handle the notification click event?
If not....

Feature Request

In 99.9% of the cases, when a local notification is fired we need to do something.
It would be hugely helpful to add a LocalNotificationReceived event handler.

CrossLocalNotifications.Current.LocalNotificationReceived += OnLocalNotificationReceived;

...

private void OnLocalNotificationReceived(object sender, LocalNotificationReceivedEventArgs e)
{
    var id = e.Id;
    var title = e.Title; 
    var message = e.Body; 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions