Closed jasonItotal closed 3 years ago
The only possible values for an alert
object are listed on the Apple Docs. Thus, this library does not support setting an arbitrary object as an alert.
You can however workaround this by force-adding an object using an AddCustomProperty
method. Please see README for more info and examples.
When I sending voip alert, I need to send an object as following. { uuid = "982cf533-7b1b-4cf6-a6e0-004aab68c503", incoming_caller_id = "0123456789", incoming_caller_name = "Tester" } Could the library provide a method to accept object as the payload.aps.alert?
Thanks.