I am developing a snap that manage the Wifi connections using a web interface. To do this, I need to connect my snap to network-manager:service.
Running the command “snap connect SNAPNAME:network-manager network-manager:service” after the installation the snap worked perfectly. Perhaps, I need to do this automatically. How can I configure the Snapcraft.yaml to auto connect this interface?