There is a bunch of bugs in xdg-desktop-portal resulting in file descriptors being left open. In my case this makes the Open URI portal unusable. Those bugs are still open let alone backported to any distribution.
Would I be allowed to use
org.freedesktop.Flatpak.Development.HostCommand() for bypassing the OpenURI portal via calling xdg-open on the host for a flatpak hosted on flathub?