Since Endless OS 3.2.5, Flathub is enabled by default
If you are using an older version of Endless OS, go to Settings → Details → Look for updates to update.
If you are using an older version of Endless OS, go to Settings → Details → Look for updates to update.
I got this:
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak remote-ls flathub
error: GPG verification enabled, but no summary signatures found (use gpg-verify-summary=false in remote config to disable)
$ flatpak remotes
Name Options
eos-apps system
eos-external-apps system,no-gpg-verify
eos-runtimes system
eos-sdk system
flathub system
gnome system
$ flatpak remote-delete flathub
$ flatpak remote-add --no-gpg-verify flathub https://flathub.org/repo/flathub.flatpakrepo
After this I can list all packages from flathub:
$ flatpak remote-ls flathub
Ref
ca.desrt.dconf-editor
ch.x29a.playitslowly
com.albiononline.AlbionOnline
...
...
...
Endless now comes with Flathub enabled by default so all of the latest apps should now show up automatically in the Endless App Center when you update to the latest version of Endless OS.