Well Flatpak runs Wappler complete in a sandbox so limits all its functionality and also disallowing it to access custom protocols.
See
There might be a way by creating custom manifest but i would suggest not to use flatpack but just the regular supported installation methods.