openfoodfacts / openfoodfacts-androidapp

(Legacy) Native version of Open Food Facts on Android - Coders & Decoders welcome 🤳🥫
https://android.openfoodfacts.org
Apache License 2.0
767 stars 446 forks source link

Offer voice actions #181

Open teolemon opened 7 years ago

teolemon commented 7 years ago

https://developers.google.com/voice-actions/

What is the (nutriscore/nutrition grade) of (barcode XXXXXXXX/carrots) ? 
mrudultora commented 3 years ago

@teolemon May I work on this ?

VaiTon commented 3 years ago

Sure @mrudultora !

mrudultora commented 3 years ago

@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

teolemon commented 3 years ago

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.