My app is getting Push Notifications. What I want to do is...as soon as I get a Notification, Phone should Cast a audio file to Local Google Nest Mini Speaker (Within LAN). Currently my users need to Tap on the notification to trigger the audio file. I want to Automate it.
I tried to apply the Login on "DidReceiveRemoteNotification" Event. However it plays audio file only when user Opens the App.
Any advise would be helpfull.
Thanks