如何将 Google Now 集成到 iOS App

How to Integrate Google Now to iOS App

我现在必须将 Google 集成到 iOS 应用程序。请帮助我 idea.I 必须了解如何将 Google Now 集成到我的 iOS 应用程序,警报将显示在 Google Now。

目前,与 Google 集成的唯一方法是与 Google 电子邮件模式集成。您可以在此处找到受支持的 Google Now 模式:

https://developers.google.com/schemas/now/cards?hl=en

巴士预订和火车预订也将与Google集成现在:

https://developers.google.com/schemas/reference/bus-reservation

https://developers.google.com/schemas/reference/train-reservation

您的应用最好是交易型的。请注意,您的电子邮件必须列入白名单才能发送 Google 模式。您可以在此处找到有关注册的信息:

https://developers.google.com/gmail/markup/registering-with-google

如果您想对触发 Google 即时贴进行一些测试,您可以使用以下 Apps 脚本教程(使用您的个人 Gmail 帐户):

https://developers.google.com/schemas/tutorials/apps-script-tutorial

如果您 post 有关 iOS 应用程序功能的更多信息,我可以帮助您确定哪些标记可以帮助您实现您想要做的事情。