Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Widgets not working for GET INVOICE from google assistant. #30

Open
mohdahk opened this issue Jun 7, 2022 · 0 comments
Open

Widgets not working for GET INVOICE from google assistant. #30

mohdahk opened this issue Jun 7, 2022 · 0 comments

Comments

@mohdahk
Copy link

mohdahk commented Jun 7, 2022

Hi, I am trying to integrate the App widgets to the google code lab same sample app. The get Exercise observation works perfectly fine but when i am configuring actions.intent.GET_INVOICE, It works fine from test tool. But with voice inputs like "Get my Bill in " it says "App isn't installed". Any reasons for this ? Looking for fix.
Below is the code in shortcuts.xml for get voice :




 <capability android:name="actions.intent.GET_INVOICE">
   <app-widget
        android:identifier="GET_INVOICE"
        android:targetClass="com.devrel.android.fitactions.widgets.StatsWidgetProvider"
        android:targetPackage="com.ahk.assistantsample">
        <parameter
            android:name="invoice.forService.name"
            android:key="forServiceName"
            android:required="true">
        </parameter>
        <extra android:name="hasTts" android:value="true"/>
    </app-widget>

    <intent
        android:identifier="GET_INVOICE_FALLBACK"
        android:action="android.intent.action.VIEW"
        android:targetClass="com.devrel.android.fitactions.widgets.StatsWidgetProvider">
    </intent>
</capability>
@mohdahk mohdahk changed the title App action not working for GET INVOICE from google assistant. Widgets not working for GET INVOICE from google assistant. Jun 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant