3
我在iphone上遇到了離子應用程序的問題。離子寫入的index.html此:ios上的角度/離子iframe問題
<iframe src="gap://ready" style="display:none;">...</iframe>
該應用的控制檯輸出迴路大約每秒40次這樣的錯誤:
Refused to load gap://ready because it appears in neither the child-src directive nor the default-src directive of the Content Security Policy.
我想每次的角度的dirtycheck正在工作,該錯誤被拋出。 iframe來自哪裏以及如何擺脫iframe和錯誤?
這也修好了我的問題與PhoneGap的條形碼掃描儀插件不加載在iOS上10! – Asier
在哪裏添加此行。我面臨一個問題條碼掃描器在iOS 10中打開。 –
在index.html標題中添加/擴展此項。我使用v1.2.4-nightly-1917,它已經有一個meta標籤,但它缺少'gap:'內容。 – marcel