I removed the app from background recent apps , sent notification then my device gets fcm notification succesfully
, but I would like to know which method is called when notification is received.Because on receiving notification in my app it has to print receipt automatically. How this can be done?This method is not called in this case.
-(void) application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void(^)(UIBackgroundFetchResult))completionHandler
Plz suggest which method receives the notification payload when app is removed from background(recent apps)