05-22-2019 08:43
05-22-2019 08:43
Hi,
I have developed a watch-face that does file transfers from device to companion and makes server calls using fetch from time to time in the companion.
The watch-face works perfectly when side-loaded on, file transfers occur and server calls take place. When installed using the direct link provided from the Gallery App Manager, file transfers take place but the server calls (using fetch) do not seem to execute. I've place try and catch blocks and if else statements to find out where there may be an error and log that error in the Settings page, however there seems to be no errors or exceptions. The server does not get any requests either.
Has anyone encountered a similar problem? I've been stuck on this for a couple of weeks now.
Thanks in advance!
05-22-2019 14:20
05-22-2019 14:20
Have you added the "access_internet" permission? And you're accessing a https URL?
05-22-2019 14:34
05-22-2019 14:34
Yes, "access_internet" is in the permissions and yes, it is an https url that I am accessing.