Permissions problem using Toybox.Communications

Former Member
Former Member

I have the following permissions in my manifest.xml, copied directly from the Analog sample:

        <iq:permissions>
            <iq:uses-permission id="Background"/>
            <iq:uses-permission id="Communications"/>
        </iq:permissions>

I'm trying to make a web request, using the sample code found here:

https://developer.garmin.com/connect-iq/api-docs/Toybox/Communications.html#makeWebRequest-instance_function

but I get the following exception when I make the request:

Error: Permission Required
Details: Module 'Toybox.Communications' not available to 'Watch Face'
Stack:
  - makeRequest() at C:\Etc\Dev\Garmin\TravelWatch\source\TravelWatchWeb.mc:27 0x10001425
  - onUpdate() at C:\Etc\Dev\Garmin\TravelWatch\source\TravelWatchView.mc:154 0x100008b2
Encountered an app crash.

Can someone explain why I don't have permission to use Communications when it's explicitly granted in manifest.xml?