简体   繁体   English

Google即时事件预订在iOS和Android上的显示方式有所不同

[英]Google Now Event Reservation showing differently on iOS and Android

We are using the google event reservation schema Basic event reminder without a ticket to trigger a google now card. 我们使用的是Google事件保留架构的基本事件提醒,没有票证来触发Google Now卡。 We've noticed that the behavior differs in iOS from Android where the iOS version of Google Now shows a "Manage reservation" button on the card and the Android version just shows a link to the "Email from {Our Email}" which opens the email which triggered the card. 我们注意到,iOS和Android上的行为有所不同,iOS的Google Now版本在卡上显示“管理预订”按钮,而Android版本仅显示指向“来自{Our Email}的电子邮件”的链接,该链接会打开触发卡的电子邮件。 Is there any way to force the Android Version to show the "Manage Reservation" button instead of "Email from..." button? 有什么方法可以强制Android版本显示“管理预订”按钮而不是“来自...的电子邮件”按钮?

EDIT: See example markup below 编辑:请参阅下面的示例标记 在此处输入图片说明

I see that you are testing it using the basic Event reservation markup. 我看到您正在使用基本的事件保留标记对其进行测试。

In order to get the "Manage reservation" on the action button, you have to add modifyReservationUrl property for the schema markup. 为了在操作按钮上获得“管理保留”,您必须为模式标记添加ModifyReservationUrl属性。

Check all the properties you can add to this markup here . 在此处检查可以添加到此标记的所有属性。

Also find the screen shot which shows the action button as "Manage reservation" in Android device. 还可以找到在Android设备中将操作按钮显示为“管理预订”的屏幕截图。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM