GNetworkMonitor in Flatpak doesn't provide correct information
The attached test-nm.zip is a simple test program. Unpack it and run ./build.sh in it, which will buld & run the flatpak version of it. Current output is:
test_points: found '4' extensions:
name:'portal' priority:40 type:GNetworkMonitorPortal
name:'networkmanager' priority:30 type:GNetworkMonitorNM
name:'netlink' priority:20 type:GNetworkMonitorNetlink
name:'base' priority:0 type:GNetworkMonitorBase
[2018-08-29T15:58:21.584991Z] network_available_cb: available:1 (monitor:GNetworkMonitorPortal)
[2018-08-29T15:58:21.586366Z] network_available_cb: www.gnome.org:80 reachable:0 (Network unreachable)
[2018-08-29T15:58:23.197125Z] check_libsoup: http://www.gnome.org:80: returned status:200 read bytes:25226
[2018-08-29T15:58:24.878146Z] run_network_check_on_timeout: www.gnome.org:80 reachable:0 (Network unreachable)
I expect, when the check_libsoup return status 200 and some data, that also the network_available_cb will be in sync with it, but it returns Network unreachable
instead.