I implemented Remote Push notifications for my app. I can receive Push notifications just fine.
However my goal is to execute some code automatically when Remote Notification Arrives on my iphone.
For example i have a Google Nest mini Speaker. I would like to send Push notifications to my iPhone, which should trigger a "Audio Playback" on my Google mini speaker.
I got it to work, only if user TAPS the Notification Banner, however I would like to automate it, whether user taps the notification banner or not.
I have the same exact logic working on Android, however for ios i am having issues when it comes to handle push notification.
So Question is, it it even possible to receive a remove notification and trigger something automatically?