How to make recur param work on google calendar deep link
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Hello!

From Safari on IOS, I am creating a deep link to open a new event on the google calendar app.
The deep link looks like this

com.google.calendar://action=create&text=event+title&dates=20210718T080010/20210718T083010&ctz=America/Mexico_City&details=book+details

And that all works great - when the link is clicked, the google calendar app is opened, and the create new event sceen is open with the all the information in the link.

HOWEVER,

I also want to add a RECURRENCE RULE to the link, so that when the calendar app opens with a new event, it will have some repeating on it. (For example, repeat every day). This is the part I can not figure out

DELIVERABLES:

1: A working link that when clicked from IOS safari, opens up the google calendar app with a new event

2: AND that link has a recurrence rule built in so that when the event is opened in google calendar, it has "repeat daily" on it by default.

3: It is NOT sufficient to open up google calendar WEB with a recurrence rule, it has to be the google calendar app

Google calendar on phone does not support recurrence rules on deep linking.
aalooksth 3 months ago
3 months ago

Crowdsource coding tasks.

1 Solution


Hello

I don't have an iOS phone to test but regarding this link
https://medium.com/collaborne-engineering/google-calendar-links-4fa1b6c01c7c

You just have to add thé parameter "recur" with specific URL encoded value like :
RRULE:FREQ=DAILY

As URL encoded on your link it will be :

com.google.calendar://action=create&text=event+title&dates=20210718T080010/20210718T083010&ctz=America/Mexico_City&details=book+details&recur=RRULE:FREQ%3DDAILY

Can you try this solution and let me know ?

UPDATE :

Hi, just as a trial, I tested to set the url link like in a web browser :

http://www.google.com/calendar/render?action=TEMPLATE&text=event+title&dates=20210718T080010/20210718T083010&ctz=America/Mexico_City&details=book+details&recur=RRULE%3AFREQ%3DWEEKLY%3BCOUNT%3D11%3BBYDAY%3DSU%2CMO%2CTU%2CWE%2CTH%2CFR%2CSA%3B

It works on my android device, which automatically opens google calendar app. May be it could be the same on ios. You can try it from this link : https://web.kern-info.eu/link.html

I've tried that and it doesn't work :/ I think there is a different param handling for web calendar (google.calendar.com) vs deep linking (com.google.calendar) for Example the below recurrence rule works fine on web, but not on mobile: com.google.calendar://?action=create&text=event+title&dates=20210718T080010/20210718T083010&ctz=America/Mexico_City&details=book+details&recur=RRULE%3AFREQ%3DWEEKLY%3BCOUNT%3D11%3BBYDAY%3DSU%2CMO%2CTU%2CWE%2CTH%2CFR%2CSA%3B
nickthekey 3 months ago