Google calendar link not compatible with GCal app on mobile

Created on 14 March 2025, 27 days ago

Problem/motivation

Incredibly, none of the Google Calendar generated link opens on Google Calendar app (tested only on a Pixel 8 Pro, Android 15).
Currently clicking the link open the main GCal view, without any "create event" dialog.
It work fine in the Desktop browser or if the phone doesn't have the GCal URL handler set.

Steps to reproduce

  1. Go to a page with an create event link on a Android device, with Google Calendar installed
  2. Click on the Google icon link (you can trying opening a generated URL here: https://www.google.com/calendar/r/eventedit?ctz=Europe%2FBerlin&text=Tes...)
  3. Observe the Google Calendar opening on the general Calendar screen, with no dialog

Proposed resolution

According to this Google Calendar forum post, the base url of the markup is incorrect: https://support.google.com/calendar/thread/81344786/how-do-i-generate-ad...

The link should use this base URL: https://calendar.google.com/calendar/render?action=TEMPLATE.
You can test by clicking this fixed URL: https://calendar.google.com/calendar/render?action=TEMPLATE&ctz=Europe%2...

This module uses Gitlab CI for automated testing of proposed code changes. To contribute code changes, create a merge request. Patch files will not trigger automated testing and are not sufficient for review.
πŸ› Bug report
Status

Active

Version

1.2

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia elgandoz Canberra

Live updates comments and jobs are added and updated live.
  • mobile

    Issue related to Drupal on mobile devices.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024