Hello!
I’m the developer of Heroic and I’m trying to create a fully functional Flatpak package for quite some time now but without success so far.
The thing is that Heroic has some particularities since it’s an Electron app (I know there are others like it) and also bundles a python binary with it (legendary), that is used to do the communication with the epic games for Login, Download games, etc.