简体   繁体   English

为什么我的应用可以与应用操作测试工具一起使用,但在 Play 商店发布时却不行?

[英]Why does my app work with app actions test tool, but not when it's published on the play store?

I've been trying to get app actions to work for my app but it only ever seems to work when I use the app actions test tool.我一直在尝试让应用程序操作适用于我的应用程序,但它似乎只有在我使用应用程序操作测试工具时才有效。 When my app is published to the play store none of my phrases that worked in the app actions test tool work with google assistant.当我的应用程序发布到 Play 商店时,我在应用程序操作测试工具中使用的所有短语都无法与谷歌助手一起使用。 If someone could tell me what I'm doing wrong here that would be very helpful.如果有人能告诉我我在这里做错了什么,那将非常有帮助。

actions.xml:行动。xml:

<actions>
    <action intentName="actions.intent.OPEN_APP_FEATURE">
        <fulfillment urlTemplate="{@url}" />

        <!-- Define parameters with inventories here -->
        <parameter name="feature">
            <entity-set-reference entitySetId="featureParamEntitySet"/>
        </parameter>
    </action>
    <entity-set entitySetId="featureParamEntitySet">
        <entity url="https://myapp.com/startmyapp" name="open my app" alternateName="@array/startMyAppSynonyms"/>
        <entity url="https://myapp.com/stopmyapp" name="close my app" alternateName="@array/stopMyAppSynonyms"/>
    </entity-set>
</actions>

arrays.xml: arrays.xml:

<resources>
    <array name="startMyAppSynonyms">
        <item>turn on</item>
        <item>activate</item>
        <item>on</item>
        <item>signal on</item>
    </array>

    <array name="stopMyAppSynonyms">
        <item>turn off</item>
        <item>deactivate</item>
        <item>off</item>
        <item>signal off</item>
    </array>
</resources>

It turns out my app was just waiting to be reviewed and published.事实证明,我的应用只是在等待审核和发布。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将应用发布到 Google Play 商店,但 API 调用不起作用 - Published an app to the Google Play Store and the API call does not work 为什么我的应用程序要求启用未知来源,即使它已发布到 Play 商店并从 Playstore 安装 - Why is my app asking to enable unknown source even when it was published to play store and installed from playstore 我发布的应用程序未显示在 Google Play 商店中 - My published app not showing on Google Play Store 应用程序操作:使用测试工具但不使用语音 - app actions: work with test tool but not with voice 发布的应用在商店中不可见 - Published app not visible to play store 如果我的国家/地区无法使用已发布的Google Play应用,该如何测试? - How can I test my published Google Play app if it's not available in my country? 为什么我在 google play store 上找不到我发布的应用程序? - Why I can't find my published app on google play store? 发布的应用未出现在Play商店类别列表中 - Published app does not appear in a play store category list 我的应用在 Play 商店发布后无法连接到服务器 - My app won't connect to server after published in play store 使用 share 2.0.0 package 我想分享我的应用程序的链接,但我还没有发布我的应用程序来玩商店 - Using share 2.0.0 package i want to share my app's link but i have not published my app to play store yet
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM