local notification disappears from notification centre

I have an app that schedules a UILocalNotification on receiving silent push notification. Local notification appears just fine, but then after a period of time (sometimes minutes, sometimes hours) it disappears from the notification center while app still wasn't opened by a user, but it doesn't happen every time (tested multiple times on multiple devices). Occurrs in both iOS 8 and 9.


I know that notifications are cleared when you set badge number to 0, but I do so only in -applicationWillEnterForeground: and in -application:didFinishLaunchingWithOptions: if app is not in background state.


Any idea what might be causing local notification removal?

local notification disappears from notification centre
 
 
Q