my problem is this:
I have scheduled some UILocalNotifications on an iOS app, the problem is that if I delete the app without deleting the objects associated with the notifications (and consequently removing the notifications from the scheduledNotifications array) the notifications still fire.
Although I have not experienced them actually firing (they are set to repeat within a week's interval) I have evidence of this since I NSLog the scheduledNotifications array at application launch, which even after deleting the app and reinstalling it (with the entities of the data model gone), still shows some scheduled notifications.
I've searched the UIApplication and the UIApplicationDelegate reference in Apple's reference library but I found no method to know if the app is being deleted, if there is I would just write
[[UIApplication sharedApplication] cancelAllLocalNotifications];
in said method.
So, is there a way for knowing this?
Thank you in advance, your help is very much appreciated.
To filter my recently deleted applications, tap on Name in the upper right. Tap Recently Added. This will filter the most recently deleted applications associated with your Google account. To add the app back to your device, tap the box to the right of the app and tap the Download icon in the upper right-hand corner.
Remove an app from the Home Screen: Touch and hold the app on the Home Screen, tap Remove App, then tap Remove from Home Screen to keep it in App Library, or tap Delete App to delete it from iPhone. Delete an app from App Library and Home Screen: Touch and hold the app in App Library, tap Delete App, then tap Delete.
How are App Uninstalls detected? You can detect app uninstalls by sending 'silent' push notifications. Silent push notifications are those notifications that aren't rendered on the user's device. You could send a silent push notification daily to all the devices with your app to track uninstalls.
This was bug in 4.0 that the local notification was repeated even if the user has deleted the app, but at least that bug was fixed by Apple in later release.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With