DiabetesCompass / Diabetes_Compass

iOS code for type 1 diabetes management
MIT License
4 stars 0 forks source link

Nutritionix API not searching food database #32

Closed calferness closed 7 years ago

calferness commented 7 years ago

When adding a food item, either by typing in description of a food or from a barcode scan, the API should look up carbohydrate data from the Nutritionix database. This database includes the USDA food database. It appears that it isn't doing the search in either case.

beepscore commented 7 years ago

Fixed in git commit 3e70523 Fix app can’t call nutritionix. Change url from http to https error message was “App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure.”