Hi there - everyone. I’ve had great success adding push notification functionality to my app using a lot of the instructions here relating to leveraging Xano to manage Google Service Account credentials and the various API calls to target FCM tokens.
What do I want to be true?
I’d like to take my push notifications one step further, and instead of just opening the app itself when a user clicks a notification, I am hoping to take them directly to a specific page in my app (example, a chat with a specific user).
What am I seeing that is not what I want?
Right now - when a user clicks a notification generated from an API call (ie. outside of FF), it just opens the app home screen. Within FF, when you create a push notification you can specify what page the click action takes the user to, and even specify the parameters associated with that page. Looking for a way to do the same, just with API calls from outside the FF builder.
What have I tried so far?
I’ve reviewed the Firebase docs around push notifications but it’s unclear to me how to structure the API call, and especially since it looks to me that Android and Apple handle target pages differently I’m a bit lost on how this would work with sending Push Notifications via API. https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages?authuser=1#notification