jjzjj

customID

全部标签

ios - PhoneGap PushPlugin - 访问 iOS APNS 负载?

将PushPlugin与我的PhoneGap3iOS应用程序结合使用,我的推送通知大部分都可以正常工作,但我正在使用自定义负载向APNS发送通知。这是它的样子:$body=array('customID'=>$customID);$body['aps']=array('alert'=>$message,'sound'=>'default');据我所知,这应该由APNS(scrolldowntothebottom)支持,但是PushPlugin'sdocumentation根本不能很好地处理iOS。我想要的是在通过点击通知打开我的应用程序时能够将customID作为JS变量访问。当应用程