iOS中的Google日历应用网址方案 [英] Google Calendar app URL Scheme in iOS

查看:109
本文介绍了iOS中的Google日历应用网址方案的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从cordova/phonegap应用程序强制在iOS上的本机iOS日历应用上打开google日历应用.我在互联网上进行了研究,但没有找到在iOS上打开Goog​​le日历应用的网址方案.

I want to force open google calendar app instead on native iOS calendar app on iOS from cordova/phonegap application . I reseached on internet but didn't find the url scheme to open google calendar app on iOS.

我已经尝试过科尔多瓦日历( https://github.com/EddyVerbruggen/Calendar-PhoneGap -Plugin )插件,但它只能打开本机iOS日历应用程序,而没有任何选择来打开Goog​​le日历.

I have already tried cordova calendar(https://github.com/EddyVerbruggen/Calendar-PhoneGap-Plugin) plugin but it only opens native iOS calendar app and don't have any option to open google calendar instead.

应用程序可用性( https://github.com/ohh2ahh/AppAvailability )插件可以打开已安装的应用程序在iOS上,它需要为iOS应用注册的URL方案,我不知道.我尝试传递Google日历应用程序的包标识符(com.google.calendar)而不是url方案,但这没有帮助.因此,只需要url方案即可.

App Availability(https://github.com/ohh2ahh/AppAvailability) plugin can open app installed on iOS and it requires registered url scheme for the iOS app which i don't know. I try to pass package identifier(com.google.calendar) of google calendar app instead of url scheme but it didn't help. So it only requires url scheme.

有人可以指导我如何在iOS上找到Google日历应用的网址方案吗?

Can anyone guide me how to find url scheme of google calendar app on iOS?

推荐答案

从计算机上的iTunes下载Google日历.将.ipa重命名为.zip并将其提取.在Payload/中有"Google Calendar.app",单击鼠标左键以显示显示包装内容",然后查找Info.plist.如v1.3.1所示,您将获得包括URL方案在内的配置:

Download Google Calendar on iTunes from your computer. Rename the .ipa to .zip and extract it. There's "Google Calendar.app" in Payload/, left click to "Show Package Contents" and look for Info.plist. You'll get the configurations including URL scheme, as in v1.3.1:

  • vnd.google.calendar
  • com.google.calendar
  • comgooglecalendar
  • googlecalendar

但是,似乎没有公开文档,因此请谨慎使用.

However, there seems to be no public documentation for this, so use with caution.

这篇关于iOS中的Google日历应用网址方案的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆