incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (Commented) (JIRA)" <>
Subject [jira] [Commented] (CB-39) Flashing after Resume
Date Tue, 07 Feb 2012 01:50:59 GMT


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:
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
> reported at:
> by:
> 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:!default.jspa
For more information on JIRA, see:


View raw message