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)
-   -   No badge until open (http://forums.omnigroup.com/showthread.php?t=24671)

yeefom 2012-06-23 07:02 AM

No badge until opened
 
Hi,

This problem has been bothered me for a while: there is no badge on the icon until I open omnifocus. I mean, if an action becomes due soon or overdue, an badge should apear automatically. Should it? :)

Thanks!

Yeefom

jjlucsy 2012-06-23 09:10 PM

iOS doesn't allow a program to run in the background, therefore it has no way to update itself. That, and OmniGroup doesn't provide a backend server that can push badge updates to the user. So this is expected behavior, unfortunately.

yeefom 2012-06-25 08:07 AM

[QUOTE=jjlucsy;111883]iOS doesn't allow a program to run in the background, therefore it has no way to update itself. That, and OmniGroup doesn't provide a backend server that can push badge updates to the user. So this is expected behavior, unfortunately.[/QUOTE]

Thanks for your reply!

I am wondering whether local notification can do this job? As far as I know, there are apps update badge status themselves without internet connection.

montbarron 2012-06-26 04:49 PM

[QUOTE=yeefom;111928]Thanks for your reply!

I am wondering whether local notification can do this job? As far as I know, there are apps update badge status themselves without internet connection.[/QUOTE]

Yeah, it seems weird to me that it doesn't use local notifications for this. It would be entirely do-able with the way that local notifications work.

It may not work for certain things (like geofenced tasks, for instance) but it'd be really helpful for time-based things.

CatOne 2012-06-26 08:08 PM

[QUOTE=yeefom;111928]

I am wondering whether local notification can do this job? As far as I know, there are apps update badge status themselves without internet connection.[/QUOTE]

It's certainly possible. Things does it.

Obviously this would be for items that the app knew about the last time it quit. Items that were created on other devices wouldn't appear in the badge count. But there's no reason the app couldn't register for a local notification to update its badge count at 12:01 AM or whatever.

Brian 2012-06-29 03:52 PM

I checked briefly with one of the engineers: local notifications can update the badge, but their memory was that the API is optimized around the "show me how many times this app has pestered me" use case, which is a simpler one than the way OmniFocus uses the badge.

Our badge represents the sum of some combination of overdue, due soon, and flagged items, depending on the settings you choose.

Additionally, if the app hasn't been launched in a while, we haven't synced, either. At that point, the local alerts being fired may be based on stale data; they doesn't incorporate changes you made on other devices.

Push would has the advantage there, but then you have to pass a whole lot of personal data through a server that we run...

Brian 2012-06-29 03:54 PM

None of the above, of course, is arguing that folks shouldn't want this - votes added to the feature request on this. Just providing some background/nuance about what's going on here. Thanks!

whpalmer4 2012-06-29 04:13 PM

[QUOTE=Brian;112152]Additionally, if the app hasn't been launched in a while, we haven't synced, either. At that point, the local alerts being fired may be based on stale data; they doesn't incorporate changes you made on other devices.

Push would has the advantage there, but then you have to pass a whole lot of personal data through a server that we run...[/QUOTE]

A hybrid approach: any and all running copies of OmniFocus send in their idea of what the badge should read, and your server sends out push notifications to all known instances, possibly based only on the data from the client which has most recently seen a change made. No need to actually house the data.

Brian 2012-06-29 04:27 PM

I've got four items overdue, and another due in an hour. While out and about, I complete one overdue action on my iPhone. Before the hour is up, waiting on a park bench for a friend, I do a mini-review on my WiFi-only iPad, deferring the due date on a different overdue action.

Two hours later, I reach a coffee shop with free WiFi. I open the iPad but do not launch OmniFocus; what number appears on the badge? :-)

whpalmer4 2012-06-29 05:10 PM

Well, changes made on non-connected or non-synced devices are a common-mode failure with the current situation, so that's no worse than now.

Your iPad doesn't need to launch OmniFocus — it gets the push notification from your server, no?


All times are GMT -8. The time now is 07:01 PM.

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