Check if app has a notfication using private frameworks?

后端 未结 2 1315
眼角桃花
眼角桃花 2021-01-15 12:59

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

2条回答
  •  孤独总比滥情好
    2021-01-15 13:59

    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

提交回复
热议问题