The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus for iPhone (http://forums.omnigroup.com/forumdisplay.php?f=49)
-   -   Background sync? (http://forums.omnigroup.com/showthread.php?t=16648)

lmsboy 2010-07-01 11:23 AM

Background sync?
 
Does OF 1.7 supports background sync, after leaving the App?

Brian 2010-07-02 10:02 AM

iOS 4 made a couple different actions available while an app is in the background, but accessing the cell or wireless networks isn't among those possibilities. (We're hoping Apple adds this capability to some future iOS release, though.)

The app should initiate a sync when you wake it up, though, if it's been an hour or more since your last sync.

lmsboy 2010-07-02 10:19 AM

Ok, thank you :)

jasong 2010-07-02 09:45 PM

Brian, that's not quite right. An app can request time in the background, and while there has the same functionality it has while in the foreground. That includes network access.

Again, that's a limited amount of time to do the syncing, but it's definitely doable.

Andy 2010-07-03 02:26 AM

[QUOTE=jasong;79622]Brian, that's not quite right. An app can request time in the background, and while there has the same functionality it has while in the foreground. That includes network access.

Again, that's a limited amount of time to do the syncing, but it's definitely doable.[/QUOTE]

I agree. If we are in the middle of a sync and close the app, it should be able to automatically continue syncing in the background. The limit for task completion is 10 minutes, which is very reasonable for such a task.

It would also be useful to enable the app to automatically kick off a sync once you close it.

lmsboy 2010-07-03 02:38 AM

Yes automatic sync on app-close would be perfect!!

ksrhee 2010-07-03 03:11 AM

[QUOTE=jasong;79622]Brian, that's not quite right. An app can request time in the background, and while there has the same functionality it has while in the foreground. That includes network access.

Again, that's a limited amount of time to do the syncing, but it's definitely doable.[/QUOTE]

This is my understanding as well. I don't think we are asking the program to initiate the sync in the background, but complete what we started in the background. So far, I noticed that the program doesn't do this.

It would be great that if the sync has been initiated, and I leave the program to do something else, it would complete the sync in the background.

ifonline 2010-07-03 03:42 AM

Sync when closing on iOS 4 would be a perfect solution! The less I have to manage the program, the better. This definitely gets my vote!

Brian 2010-07-03 11:54 PM

[QUOTE=jasong;79622]Brian, that's not quite right.[/QUOTE]

Entirely possible. :-)

I may be wrong, but Ken told me he did some work to try and enable background sync via task completion, and while it appeared to be possible, the requests never actually made it to the server. I was also basing this on what I've heard from [URL="http://furbo.org/2010/06/21/iphone-multitasking/"]other developers[/URL].

In any case, here's a couple of tweets he sent out yesterday on the subject:
[URL="http://mobile.twitter.com/kcase/status/17604280495"][1][/URL] -
[URL="http://mobile.twitter.com/kcase/status/17604598872"][2][/URL] -
[URL="http://mobile.twitter.com/kcase/status/17604333957"][3][/URL]

If you have any suggestions for things he might try, I'm sure he'd appreciate it. Thanks!

lmsboy 2010-07-04 01:21 AM

I think maybe you go the wrong way. Try it in that way, that radio-apps or navigation-apps use the iOS-Multitasking - not over task-complition.


All times are GMT -8. The time now is 06:05 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.