Hi. I am writing a script which has a field for a device. Target selector targeting a mobile device.
When the user enters their device, the script returns the device ID. But I need to convert it into a notify target such as "notify.mobile_app_bananas_iphone", so that I can send a notification to it!
I can't find an easy way to do that conversion. Does anybody have any ideas or suggestions? Or an alternative way to send a notification to a selected device.