-
Notifications
You must be signed in to change notification settings - Fork 181
Open
Description
Can someone please explain the purpose of Actions with this plugin?
And what does Foreground = false means?
I assume that OnAction function is triggered when a user pressed Push notification for us to detect what was pressed and do some stuff.
I did a few tests, and OnAction never gets triggered, i am using Android Oreo 8.0.
Did anyone manage to make OnAction work?
LocalNotification.Action action1 = new LocalNotification.Action("background", "In Background", this);
action1.Foreground = false;
And the OnAction:
public void OnAction(string identifier)
{
Debug.Log("Got action " + identifier);
}
Metadata
Metadata
Assignees
Labels
No labels