我想使用一个信号将VoIP push notifications
发送到iPhone。因此我创建了VoIP推送通知,并将p12证书上传到邮递员或curl中的一个信号仪表板。当我发送通知时,它返回200(状态成功),但是没有通知发送到我的设备。你知道为什么吗?
请求:
curl --include \ -请求POST \ --header“ Content-Type:application / json” \ --data-binary“ {\” app_id \“:\” xxxxxxxx-xxxx-4a41-ac20-363497c923e5 \“, \“ identifier \”:\“ xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \”, \“ language \”:\“ en \”,\“ device_type \”:0, \“ tags \”:{\“ FirstName \”:\“ amir \”,\“ LastName \”:\“ tutunchi \”,\“ Speciality \”:\“ Yoga \”,\“ MeetingID \”:\ “ 456354646 \”,\“ AppointmentDate \”:\“ 2019-05-29T22:45:47 + 04:30 \”,\“ AppointmentTitle \”:\“ check \”}}“” \ https://onesignal.com/api/v1/players
响应:
{ “成功”:是的, “ id”:“ xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx”}