Actions on google 谷歌助手-行动未批准
我最近创建了一个动作,并在web模拟器和我的Pixel 2设备上进行了测试。这对我来说很好。但在审查过程中,谷歌的团队提到,在审查过程中,他们发现错误,说我的应用程序现在没有响应。请稍后再试。(附截图)。请社区的人帮助我解决这个问题 下面是完整的代码,如果这有帮助的话Actions on google 谷歌助手-行动未批准,actions-on-google,Actions On Google,我最近创建了一个动作,并在web模拟器和我的Pixel 2设备上进行了测试。这对我来说很好。但在审查过程中,谷歌的团队提到,在审查过程中,他们发现错误,说我的应用程序现在没有响应。请稍后再试。(附截图)。请社区的人帮助我解决这个问题 下面是完整的代码,如果这有帮助的话 'use strict'; // Import the Dialogflow module from the Actions on Google client library. const {dial
'use strict';
// Import the Dialogflow module from the Actions on Google client library.
const {dialogflow} = require('actions-on-google');
// Import the firebase-functions package for deployment.
const functions = require('firebase-functions');
// Instantiate the Dialogflow client.
const app = dialogflow({debug: true});
// Handle the Dialogflow intent named 'favorite color'.
// The intent collects a parameter named 'color'.
app.intent('think number', (conv, {nextStep}) => {
conv.close('The result is 9.');
});
// Set the DialogflowApp object to handle the HTTPS POST request.
exports.dialogflowFirebaseFulfillment = functions.https.onRequest(app);
审查小组回复的屏幕截图:
有时,如果他们和Dialogflow之间存在网络问题,或者Dialogflow没有响应,他们会很快拒绝。确保打开Dialogflow的日志以确保没有问题 一般来说,如果您没有看到任何错误,并且您的工作似乎正常,那么最简单的方法是:
接受了这个答案,因为这是他们最后的问题。下一次提交时,相同的实现已经获得批准。