I\'m writing a mobilesubstrate tweak for jailbroken devices that displays an icon in the statusbar if a defined app has a notification using libstatusbar
I\'m havin
After looking through the file system I found my answer. To get application notification count for a givin app. Check the plist located at: /var/mobile/Library/SpringBoard/applicationState.plist>com.app.identifier>SBApplicationBadgeKey
I believe there are two notifications which looks similar, but internally goes through different execution routes: local notification and remote push notifications.
I don't have exact answer. Couple of ideas, direction, where I would look for:
API's in private framework SpringboardServices
There is ApplePushService private framework. I believe it provides a connection through which remote notifications are received.
Also, there is a BulletinBoardService. I believe this one is related to showing the list of notifications. My guess, that it may store notifications.