0
我爲iOS和Android開發了一款具有離子框架的應用程序。 iOS中沒有問題。但是,iframe在Android設備中沒有顯示任何內容,但它在iOS和瀏覽器中運行良好。
這裏是我使用的示例iframe。iframe無法在離子應用程序中工作Android
<div class="card">
\t <div class="item item-divider">
Number of students in primary education
\t </div>
\t <div class="item item-text-wrap">
\t \t \t <p><iframe width="100%" height="325" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" src="http://www.google.com/publicdata/embed?ds=d5bncppjof8f9_&ctype=l&strail=false&bcs=d&nselm=h&met_y=se_prm_enrl&scale_y=lin&ind_y=false&rdim=region&idim=country:AFG&ifdim=region&hl=en_US&dl=en_US&ind=false"></iframe></p>
</div>
</div>
謝謝:)
您正在使用哪個版本的android平臺? ('cordova platform list')遠程開發者控制檯中是否有錯誤? –
開發者控制檯中的任何錯誤?由於科爾多瓦5.0大多數人需要科爾多瓦白名單插件:https://github.com/apache/cordova-plugin-whitelist –
謝謝你KateMihalikova。設備是4.2.2,在cordova平臺列表中是android 4.0.0。開發者控制檯中沒有問題。 – Potato