open_file icon indicating copy to clipboard operation
open_file copied to clipboard

Can you add .ics file type?

Open Skylaunch opened this issue 1 year ago • 3 comments

I need to open the .ics file.

When opening with the command "await Open File.open(file.path);", all possible applications are shown to me.

However, when opening the saved file manually, the correct Outlook is displayed.

It would be great to offer to open the file via Outlook if it is installed

Skylaunch avatar Oct 15 '24 10:10 Skylaunch

The choice of which app to open is the user's personal habit, which should not interfere with the user's choice. If the user needs to open an app directly next time, they can select the "always" option when opening it for the first time

crazecoder avatar Oct 15 '24 10:10 crazecoder

Yes, you right, but how can I reduce the count of applications that cannot physically open the ics file?

Skylaunch avatar Oct 15 '24 10:10 Skylaunch

On Android devices, it will look for apps that are configured to support it in the manifest. On iOS, it will list all apps that can be opened or transferred. These are controlled by the system. I have not found a way to modify them yet.

crazecoder avatar Oct 15 '24 10:10 crazecoder

Specify the type to reduce the shown apps: OpenFile.open("event.ics", type: "text/calendar")

adrianwinau avatar Feb 08 '25 22:02 adrianwinau