Cordova 3.7在每个本地呼叫上重复iframes [英] Cordova 3.7 duplicates iframes on every native call
问题描述
自从我升级到Cordova 3.7之后,每个本地调用都将一个新的iframe附加到DOM,如下所示。
Since I've upgraded to Cordova 3.7 every native call attaches a new iframe to the DOM like the one below.
<iframe src="gap://ready" style="display: none;"></iframe>
为了排除我现有的代码影响cordova的可能性,我试过使用cordova CLI创建一个新的,添加控制台插件和调用console.log()在deviceready处理程序内的setInterval循环。因此,我在DOM中获得了大量的iframe。
To exclude the possibility of my existing code influencing cordova I've tried creating a new one with cordova CLI, adding console plugin and calling console.log() in a setInterval loop inside deviceready handler. As a result I got a ton of iframes in DOM.
我在iPad 3,iOS7上尝试过使用xCode 6构建应用程序。
I've tried this on iPad 3, iOS7, building the app using xCode 6.
有人遇到过这个问题吗?感谢。
Did anyone experience this issue? Thanks.
更新:
相关问题已提交至Cordova:https://issues.apache.org/jira/browse/CB-8002
该问题应在3.8版本中修复。
Corresponding issue was filed to Cordova: https://issues.apache.org/jira/browse/CB-8002 The issue should be fixed in 3.8 release.
推荐答案
问题已通过Cordova 3.8.0版本解决
The issue was resolved with the release of Cordova 3.8.0
这篇关于Cordova 3.7在每个本地呼叫上重复iframes的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!