foodkeeper api no longer supported by heroku
License and Copyright Notice
By submitting this issue or commenting on this issue, or contributing any content to this issue, you certify under the Developer Certificate of Origin that the content you post may be licensed under GPLv3 (for code) or CC-BY-SA 4.0 International (for non-code content).
Summary
The check expiration feature cannot be used because the local database of food safety data is not being created.
Steps to reproduce
Click the Check Expiration Date button the first time the app tries to connect to the foodkeeper api on heroku. It fails because it is no longer available on heroku.
What is the current bug behavior?
The local database is not created so the user cannot check expiration date information.
What is the expected correct behavior?
The database is created.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code, as it's very hard to read otherwise.)
Possible fixes
Switch from using the api on heroku to getting the json directly from the government website - https://www.fsis.usda.gov/shared/data/EN/foodkeeper.json The app can store the version number (to be checked when the app starts to see if there is an update) and then parse the category and product information to store in the local database.
Labels
(We have not finalized our list of labels, for now, include the labels you would like to include as a comment.)