iOS9 local notification

Hello,

Since iOS9, local notification aren't working properly.

Sometimes users receive the notification, sometimes they just don't. My notifications are repeated daily.

Any idea what might causing the issue? I saw some posts, that there's a bug in iOS9, but I'm not sure that's the reason.


Here's a piece of code:


        NSDate *alarmDate = [date dateByAddingTimeInterval:DEFAULT_SNOOZE_DURATION * i];
        UILocalNotification *localNotif = [[UILocalNotification alloc] init];
        localNotif.fireDate = alarmDate;
        localNotif.timeZone = nil;        
        localNotif.alertBody = alertBody;
      
        localNotif.hasAction = YES;
      
        localNotif.applicationIconBadgeNumber = 1;
        localNotif.soundName = UILocalNotificationDefaultSoundName;
        localNotif.repeatInterval = NSCalendarUnitDay;
     
        [[UIApplication sharedApplication] scheduleLocalNotification:localNotif]


Thanks for your help

I got same problem, any help?

Same here. In my case, I have a text notification that has an accompanying custom sound. About half of the time I just get the text notification and no sound, and about half the time I get both as expected.


I haven't been able to reproduce this in a simple standalone app. If you can, please file a bug on it...

Not much help but I've had issues with my app's notifications since iOS 7... Quite often the first instance of a repeating local notification doesn't have the sound played but then most (?) of the ones after do... very annoying, especially if it happens to non-repeating notifications as they don't have a back up like mine do as they fire every minute to ensure they're not missed.

iOS9 local notification
 
 
Q