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

Shazron Abdullah commented on CB-39:
------------------------------------

This is a question, not an issue - and thus will be closed. 

Answering the question - no, JavaScript execution is paused and all network 
connections are dropped. Only certain Obj-C calls can be "run in the 
background" based on settings in the app's Info.plist

No, the js does not need to be re-initiated - the flash you see might be a 
memory issue where a resource was released, then reloaded (image etc) - but 
that's just my guess.
                
> Flashing after Resume
> ---------------------
>
>                 Key: CB-39
>                 URL: https://issues.apache.org/jira/browse/CB-39
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/325
> by: https://github.com/gregavola
> Hello,
> I don't know if these is the right place to log this - however this is purely 
> a question of what happens to PhoneGap apps when the app is in the background.
> Does the JS still continue to work when the app is placed in the background? 
> I've seeing a lot of errors for JS file uploads stopping after the user 
> pressed the home button during an upload.
> What happens when the app resumes? Does the JS have to be re-initated? For 
> example - I use iScroll in my app, and everytime I load it back up from 
> running in the background, the UIWebView flashes (almost like a partial 
> reload) and continue. If I change the orientation of the device, it doesn't 
> do this action - only when you try to resume. Is this PhoneGap thing or 
> iScroll thing? Has anyone seen this issue?
> Thanks,
> Greg

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to