[英]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.