質問編集履歴
2
解析として試したことを追記しました。
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -59,9 +59,13 @@
|
|
|
59
59
|
|
|
60
60
|
### 試したこと
|
|
61
61
|
* index.htmlから、Pluginやライブラリを読み込む components/loader.js を外すと、Firestoreのデータが取得できる。
|
|
62
|
-
* index.
|
|
62
|
+
* index.htmlの components/loader.js を読み込む位置を変える → 取得出来ない
|
|
63
|
+
* index.htmlの components/loader.js を cordova.js へ変える → 取得出来ない
|
|
64
|
+
* index.htmlの Content-Security-Policy へ connect-src * blob: を追加 → 取得出来ない
|
|
65
|
+
```
|
|
66
|
+
<meta http-equiv=Content-Security-Policy content="default-src * data: gap: https://ssl.gstatic.com; connect-src * blob:; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'">
|
|
67
|
+
```
|
|
63
68
|
|
|
64
|
-
|
|
65
69
|
### 補足情報(FW/ツールのバージョンなど)
|
|
66
70
|
|
|
67
71
|
**動作確認端末**
|
1
index.htmlを追記しました。
title
CHANGED
|
File without changes
|
body
CHANGED
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
|
|
60
60
|
### 試したこと
|
|
61
61
|
* index.htmlから、Pluginやライブラリを読み込む components/loader.js を外すと、Firestoreのデータが取得できる。
|
|
62
|
+
* index.hmtlの
|
|
62
63
|
|
|
63
64
|
|
|
64
65
|
### 補足情報(FW/ツールのバージョンなど)
|
|
@@ -95,4 +96,30 @@
|
|
|
95
96
|
"vuejs-logger": "^1.5.3",
|
|
96
97
|
"vuex": "^3.0.1"
|
|
97
98
|
}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## 追記(2018/10/19)
|
|
102
|
+
index.htmlを追記します。
|
|
103
|
+
```html
|
|
104
|
+
<!DOCTYPE html> <html> <head> <meta charset=utf-8> <meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> <meta http-equiv=Content-Security-Policy content="default-src * data: gap: https://ssl.gstatic.com; style-src * 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'"> <meta name=format-detection content="telephone=no">
|
|
105
|
+
|
|
106
|
+
<!-- 元の位置
|
|
107
|
+
<script type=text/javascript src=components/loader.js></script>
|
|
108
|
+
-->
|
|
109
|
+
|
|
110
|
+
<link rel=stylesheet type=text/css href=components/loader.css>
|
|
111
|
+
<link href=app.css rel=stylesheet>
|
|
112
|
+
</head>
|
|
113
|
+
<body>
|
|
114
|
+
<div id=app></div>
|
|
115
|
+
|
|
116
|
+
<script type=text/javascript src=runtime~app.bundle.js></script>
|
|
117
|
+
<script type=text/javascript src=vendors~app.bundle.js></script>
|
|
118
|
+
<script type=text/javascript src=app.bundle.js></script>
|
|
119
|
+
|
|
120
|
+
<!-- 移動後 -->
|
|
121
|
+
<script type=text/javascript src=components/loader.js></script>
|
|
122
|
+
|
|
123
|
+
</body>
|
|
124
|
+
</html>
|
|
98
125
|
```
|