I have a volunteering app that I made in Unity. When someone signs up for a volunteer event, I want to show them a confirmation page that lets them add the event to the calendar of their choice.
Google Calendar is easy because I can make a string for the URL, and use Application.OpenURL to take them out of my app and to the right link. From there they just need to (1) not touch anything AND (2) press OK and it's added to their calendar. (This is working fine!)
Microsoft Outlook and Apple Calendar are tougher, though. They use these ICS files. So I figured I would generate an ICS file and have them open it when they press the button, which should automatically take them to the correct calendar app on their phone. But it looks like Android and iOS don't allow Unity to use OpenURL to open local files on your phone anymore...
Has anyone solved this? What should I do?
TLDR: OpenURL works for Google Calendar links to the Internet, but not for local files.