11-11-2018 05:07
11-11-2018 05:07
Hi Everyone,
I developed an application for my ionic to see the progress of my 3D printing on my printer. Wishing to make improvements, I wanted to relaunch the code on the fitbit OS simulator and I came across this error message: Blocked insecure request to URL. On the other hand no error when I launch the application directly on my watch.
In the first place I try to put my URL in https with a self-signed certificate on my server, I no longer have the blocked insecure request to URL but I still have a failed fetch.
Do you have any idea how I can solve this problem?
Thank you in advance!
Answered! Go to the Best Answer.
Best Answer11-12-2018 14:01
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-12-2018 14:01
Fetch should work on local unsecured URLs, or secure remote URLs.
Have you also granted the internet permission in your package.json?
Best Answer11-12-2018 14:01
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
11-12-2018 14:01
Fetch should work on local unsecured URLs, or secure remote URLs.
Have you also granted the internet permission in your package.json?
Best Answer11-13-2018 19:58
11-13-2018 19:58
You right, I juste run ma script in local for working and after that I put on my server online. Thanks!
Best Answer