Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/117.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 在通知中使用pushwoosh发送数据_Ios_Push Notification_Apple Push Notifications_Pushwoosh - Fatal编程技术网

Ios 在通知中使用pushwoosh发送数据

Ios 在通知中使用pushwoosh发送数据,ios,push-notification,apple-push-notifications,pushwoosh,Ios,Push Notification,Apple Push Notifications,Pushwoosh,我用pushwoosh SDK配置我的ios应用程序,它非常简单,工作正常。 现在,我想发送一个产品的id,以显示何时收到推送,或者用户没有看到这些数据的想法。我尝试了页面,但没有成功 问题1:我怎么做?。 问题2:这是什么页面 编辑:我刚找到Rich push的文档(page):,我向google发送了一个标题为test的推送通知和一个包含href的page,但在onPushReceived:withNotification:onStart:函数中,这是对已接收推送的字典的描述: { aps

我用pushwoosh SDK配置我的ios应用程序,它非常简单,工作正常。 现在,我想发送一个产品的
id
,以显示何时收到推送,或者用户没有看到这些数据的想法。我尝试了
页面
,但没有成功

问题1:我怎么做?。 问题2:这是什么
页面

编辑:我刚找到Rich push的文档(
page
):,我向google发送了一个标题为test的推送通知和一个包含href的
page
,但在
onPushReceived:withNotification:onStart:
函数中,这是对已接收推送的字典的描述:

{
aps =     {
    alert = test;
    sound = default;
};
h = 774;
p = x;
}

如我所见,774是推送消息中发送的页面的id,好的,我可以使用它,但如何获取该页面的内容(web服务?)

您可以通过远程API请求发送自定义数据。目前,您无法通过web表单执行此操作

至于远程API,它非常简单。请参阅本指南:


“页面”是一种HTML推送通知,有些人称之为富推送。您可以创建和发送格式丰富的消息,包括链接、图像、网络表单等。