-
-
Notifications
You must be signed in to change notification settings - Fork 299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to switch to OpenFoodFacts.net/dev from the hidden settings #848
Labels
Comments
@monsieurtanuki I would love if we could also enable forcing to openbeautyfacts.org/net, openpetfoodfacts.org/net, openproductsfacts.org/net to see how bad the app crashes. |
teolemon
changed the title
Allow switch to OpenFoodFacts.net/dev from the hidden settings
Allow to switch to OpenFoodFacts.net/dev from the hidden settings
Jan 4, 2022
monsieurtanuki
added a commit
to monsieurtanuki/smooth-app
that referenced
this issue
Jan 4, 2022
… to PROD and DEV Impacted files: * `knowledge_panels_query.dart`: not using systematically `QueryType.PROD` anymore * `main.dart`: at init time, sets the correct query type from preferences * `product_query.dart`: new method `setQueryType` that uses the preferences to set the query type * `user_preferences_dev_mode.dart`: added an item that switches the `QueryType` to `PROD` and `DEV`
@teolemon You can do that right now: OpenFoodAPIConfiguration.uriProdHost = 'world.openwhatever.org'; |
monsieurtanuki
added a commit
that referenced
this issue
Jan 4, 2022
…DEV (#851) Impacted files: * `knowledge_panels_query.dart`: not using systematically `QueryType.PROD` anymore * `main.dart`: at init time, sets the correct query type from preferences * `product_query.dart`: new method `setQueryType` that uses the preferences to set the query type * `user_preferences_dev_mode.dart`: added an item that switches the `QueryType` to `PROD` and `DEV`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What
Part of
The text was updated successfully, but these errors were encountered: