开发者

iOS4 reset app push notification settings

I need to reset the push notification settings of one app on the iPhone.

The path " /private/var/mobile/Library/RemoteNotification/Clients.plist " mentionned in this thread " Reset push notification settings for app " seems to have changed开发者_如何学Python since iOS4.

Does anyone know of to reset/remove the push notification settings for one specific application on the iPhone iOS4? Where the file containing this information is stored?


Two days I tried to find solution (I installed old version of safari download manager and one unknown notification appeared on Safari icon. Nothig helped me either reinstalling of SDM or installing of new version etc.)

Guys, there is the one:

/var/mobile/Library/SpringBoard/applicationstate.plist

The magic strings have been found very quickly:

    <key>com.apple.mobilesafari</key>
    <dict>
        <key>SBApplicationBadgeKey</key>
        <integer>1</integer>
    </dict>

Integer value has been replaced on zero succesfully

After that you need to restart SpringBoard, otherwise your changes in this file will be lost!

Enjoy!


In ios 5 you should enter via ifile to

/var/mobile/library/springboard/ then enter to applicationstate.plist in propietes visor then you look in the list for the aplication you want to reset and delete the entry

And Voila, the next time you enter the aplication is going to ask you if you want to recive notifications

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜