My Goal: Using Google Firebase Messaging, set up iOS Notification Actions
Resources Referenced:
Question:
I've looked through the above resources, but I still can't figure out how to set the category key for iOS, enabling notification actions. How do I do this?
Figured it out as I was writing the question, and a Google search didn't help me, so hopefully this will help someone else.
I found the answer in this document: FCM HTTP Protocol
In the "Notification payload support" section, the parameter click_action
says it "Indicates the action associated with a user click on the notification. Corresponds to category in the APNs payload."
So click_action
== aps.category