On 12/10/16 07:29, Spencer wrote:
> I was thinking of adding a "high score" feature to my snap app that, when a 
> player wins, goves them the option of reporting over http their score which 
> would be stored in a database and displayed by a website.  Is this possible 
> with snaps, or would the security prevent it?  It already prevents my app 
> from launching the browser with a given URL.
> 

Hi Spencer,

Yes it is possible. To allow your snap to make outbound network calls
you need to use add "network" plug to your app in the "apps" section:

plugs: [network]

You can find more info here:
https://developer.ubuntu.com/en/snappy/guides/interfaces/

Regards,
Jacek

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to