openfoodfacts-androidapp
openfoodfacts-androidapp copied to clipboard
Offer voice actions
#https://developers.google.com/voice-actions/
- "Add a product to Open Food Facts"
- "Add a product to Open Beauty Facts"
- "Scan a barcode with Open Food Facts"
- "Scan a barcode with Open Beauty Facts"
- "Search carrots on Open Food Facts"
- "Show me puddings in Open Food Facts"
- "How many calories in carrots in Open Food Facts"
What is the (nutriscore/nutrition grade) of (barcode XXXXXXXX/carrots) ?
@teolemon May I work on this ?
Sure @mrudultora !
@teolemon @VaiTon I am implementing this feature. But I want to throw light on some more info.
• If you're using an obfuscation tool for your release APK, disable the tool for your app's actions.xml
file (for example, by using an allowlist). If you don't, you're likely to encounter an error when you upload your APK to the Google Play Console.
• Due to regulatory restrictions, apps participating in the Designed for Families (DFF) program are not allowed to have App Actions. If you submit an App Action for review for an app that is included in the DFF program, it cannot be approved.
• Your App Actions won't be available to your users until they've been reviewed and approved. The App Actions review does not affect your Android app review and deployment status in Google Play. Even if your app submission is approved, your actions.xml may still be under review by Google.
• This feature will work only for API 21 and above.
I am using app actions because it is recommended for Search queries.
Looking back at this bug, this may be a little bit over the top :-) Not a core feature we really need. If you haven't done any sizeable work on it, feel free to drop.