Google Calendar app URL Scheme in iOS

送分小仙女□ 提交于 2019-12-23 02:38:13

问题


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.

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.

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.

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


回答1:


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.



来源:https://stackoverflow.com/questions/33171665/google-calendar-app-url-scheme-in-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!