openfoodfacts-androidapp icon indicating copy to clipboard operation
openfoodfacts-androidapp copied to clipboard

Offer voice actions

Open teolemon opened this issue 7 years ago • 4 comments

#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 avatar Oct 18 '16 13:10 teolemon

@teolemon May I work on this ?

mrudultora avatar Jan 31 '21 10:01 mrudultora

Sure @mrudultora !

VaiTon avatar Jan 31 '21 15:01 VaiTon

@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.

Please have a look at this official link

mrudultora avatar Feb 01 '21 15:02 mrudultora

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.

teolemon avatar Feb 02 '21 21:02 teolemon