iosjailbreakiphone-privateapilibstatusbar

Check if app has a notfication using private frameworks?


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 having trouble locating where iOS keeps this notification info for each app. Could anyone point me in the right direction/framework?

I don't intend on submitting this to Apple, again it's for jailbroken devices.

Thanks SO.


Solution

  • 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.