Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.7.0
-
Fix Version/s: 3.8.0
-
Component/s: cordova-ios
-
Labels:
-
Environment:
Tested on multiple iOS 8.1 devices, simulators
Description
Since the 3.7.0 update, when cordova does a Js to Native call using exec(), somehow the underlying cordova.js is creating a "gap://ready" iframe on every call. This means that if you made 1000 native calls you'll have 1000 divs on the DOM.
I believe this issue is of critical priority as it incurs a huge memory leak.
Screenshot from safari inspector
https://drive.google.com/file/d/0B94TXiq5ycp1anp6aGpTbjhPdG8/view?usp=sharing