I am using the content interface between two snaps that I have developed. In this way the snap providing the slot is referenced in the snapcraft file of the snap declaring the plug that will connect to this plug using the content interface.
As a result the snap with the slot needs to be installed BEFORE the snap with the plug (if not I get a pre-requisite error at install time).
I ran into a problem when I wanted the same two snaps to use a content interface in the opposite direction. So in this case each snap provides both a slot and a plug for bi-directional sharing of files.
Is there a way to work around this?