cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <>
Subject [jira] [Commented] (CB-8002) Creating a new div for every Js -> Native exec() call
Date Fri, 16 Jan 2015 18:33:36 GMT


Shazron Abdullah commented on CB-8002:

You can install the 3.8.0-dev version of the cordova-ios platform which includes the fix thus:
cordova platform add ios@9e53aa9976772ea0a6861d6c451fef019d29fc65 --usegit

This includes the fix in CB-8002 and CB-5706 (which should impact you minimally).

When the final 3.8.0 is out, after updating your cordova-cli tool, just do a:
cordova platform update ios

> Creating a new div for every Js -> Native exec() call
> -----------------------------------------------------
>                 Key: CB-8002
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.7.0
>         Environment: Tested on multiple iOS 8.1 devices, simulators
>            Reporter: Serdar Onal
>            Assignee: Andrew Grieve
>            Priority: Critical
> 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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message