11-01-2017 02:01
11-01-2017 02:01
Just updated the Fitbit app. It now seems to enforce permissions.
I get the following error when using fetch:
TypeError: Failed to fetch - permission "access_internet" was not granted.
I found this article in the documentation that describes how to check for permissions https://dev.fitbit.com/reference/companion-api/companion/#variable-me-.
But I can't find anything about getting or requesting permissions.
Answered! Go to the Best Answer.
11-01-2017 02:23
11-01-2017 02:23
Required permissions can be set under "Requested Permissions" in the package.json.
11-01-2017 02:23
11-01-2017 02:23
Required permissions can be set under "Requested Permissions" in the package.json.