href to “add to calendar” from web not working with native google calendar app on Android 6.0+

与世无争的帅哥 提交于 2019-12-06 06:05:10

For anyone else searching for a solution I ended up using: http://addtocalendar.com/

It's a free service and seems to use the browser interface for adding Calendar events on Android.

The reason the addtocalendar library works is simply because it uses a different link structure that doesn't prompt mobile users to open in app: https://calendar.google.com/calendar/render?action=TEMPLATE&.... You can skip using that library and just swap in this base link structure.

There's a warning that pops up on the google calendar page this links to that things won't be rendered perfectly on mobile because it's the desktop view, but it works.

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