High score
Jacek Nykis
jacek.nykis at canonical.com
Wed Oct 12 10:06:20 UTC 2016
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 299 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161012/6c50452c/attachment.sig>
More information about the Snapcraft
mailing list