using Toybox.Communications as Comms;
...
Comms.makeWebRequest(
url,
params,
{ :headers => headers,
:method =>Comms.HTTP_REQUEST_METHOD_POST,
:responseType => Comms.HTTP_RESPONSE_CONTENT_TYPE_JSON
},
method(:sendLogsCallback)
) ;
Code obviously works fine in original build, but when I put it in barrels it fails at runtime with
Symbol Not Found Error
in sendLogs (/private/var/folders/ly/qnh242bx7z98fz51w0yvjvjm0000gn/T/sharedCode-0.0.0.barrel13810905824211180534/content/sharedCode.mc:123)
Line 123 is Comms.makeWebRequest.
Is there a limitation I'm missing?