質問するログイン新規登録

質問編集履歴

2

個人情報が記載してあったため修正

2018/01/16 16:16

投稿

kbn1053
kbn1053

スコア17

title CHANGED
File without changes
body CHANGED
@@ -42,6 +42,5 @@
42
42
  ```shell
43
43
  $ ./gactions test --project xxx --action_package action.json --preview_mins 1
44
44
  Pushing the app for the Assistant for testing...
45
- Your app for the Assistant for project xxxx is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at https://console.actions.google.com/project/intervaltimer3/simulator/
46
- tnk@mainPC:intervaltimer$
45
+ Your app for the Assistant for project xxxx is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at xxx
47
46
  ```

1

試したことにgaction cliでの操作を追加。結局ダメでした。

2018/01/16 16:16

投稿

kbn1053
kbn1053

スコア17

title CHANGED
File without changes
body CHANGED
@@ -23,4 +23,25 @@
23
23
 
24
24
  ![イメージ説明](76be510cee33909cbdecd3ec849d68be.png)
25
25
 
26
- - 公式資料によるとテストアプリは更新しない限り7日で動作しなくなる、とのことなので7日過ぎれば接続しなくなる(公式アプリにつながる)と思いますが、未確認です
26
+ - 公式資料によるとテストアプリは更新しない限り7日で動作しなくなる、とのことなので7日過ぎれば接続しなくなる(公式アプリにつながる)と思いますが、未確認です
27
+
28
+ (追記)
29
+ - ActionsSDKですが、`gactions test`コマンドのオプションでサンドボックスを無効化にするものがあるようです
30
+ https://developers.google.com/actions/tools/gactions-cli
31
+
32
+ 実行してみましたが、停止したはずのシミュレーターが復活しており意味がありませんでした。
33
+ コンソール上の文字もシミュレーター起動したとか出ておりました。
34
+ 念のためgactionは`gaction selfupdate`で最新にしています。
35
+ ```shell
36
+ $ ./gactions test --disable_sandbox --project xxxxxx --action_package action.json
37
+ Pushing the app for the Assistant for testing...
38
+ Your app for the Assistant for project xxxxx is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator
39
+ ```
40
+
41
+ - `gactions test`のオプションのにプレビュー時間設定を1分とかにしてもだめでした
42
+ ```shell
43
+ $ ./gactions test --project xxx --action_package action.json --preview_mins 1
44
+ Pushing the app for the Assistant for testing...
45
+ Your app for the Assistant for project xxxx is now ready for testing on Actions on Google enabled devices or the Actions Web Simulator at https://console.actions.google.com/project/intervaltimer3/simulator/
46
+ tnk@mainPC:intervaltimer$
47
+ ```