My notification working when app is Active.
I have enable background mode 1.Background Fetch. 2. Remote Notification
App Delegate look like
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
//rest of code
Background= Received but not added in notification center i need to
manually click on app.(I can't see it in device notification center)
Closed: Not working (Expected to add in Notification center).
Yes, you need an
alert value, otherwise there's nothing to display in the Notification Center.