[ 
https://issues.apache.org/jira/browse/CB-8442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380013#comment-14380013
 ] 

Jonathan C. Bradley commented on CB-8442:
-----------------------------------------

After some more testing, I have found that I was also experiencing this bug: 
https://issues.apache.org/jira/browse/CB-8002

As a quick fix to test, I added a $("iframe").remove() to my logic loop.  This 
fixed the issue.  It seems that having too many dummy iframe elements was 
causing really strange behavior from iOS cordova apps, especially when you end 
up with 1000+ of them in your body.  This also explains why reloading the page 
fixed the issue, because it reset the dom and removed all of the iframe 
elements.

Hopefully this helps shed some light on this issue/bug.

> [iOS] After several (hundreds) file write operations, the plugin stops 
> working and no error is dispatched.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CB-8442
>                 URL: https://issues.apache.org/jira/browse/CB-8442
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin File
>    Affects Versions: 4.0.0
>         Environment: iOS 8.1.x
> iOS PLATFORM VERSION: 3.7.0
> Simulator, iPad Mini Retina, iPhone 4, iPhone 5s
>            Reporter: Andrea
>            Priority: Critical
>
> File Plugin [version 1.3.2]
> After several (hundreds) file write operations (with arrayBuffer), the plugin 
> becomes unresponsive and no error is dispatched.
> Given a list of files, it seems it happens always at the same point ( in my 
> case after 484 write operations, or 492, or 469, etc.). I'm quite sure it's 
> not related to the type of file. No errors are returned. The plugin simply 
> stops working. I guess all the plugins become unresponsive.
> With the same number operations, but executed through FileTransfer-> 
> download, there are no problems.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to