i want to insert push notification data into sqlite even if my app is in not running state(Close state). How do i achieve this???
Type of Notification is silent push notification.
Currently i am using method:
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))handler
this method is not running and handaling my custom method when app is killed.
so, is there any possibility to run my code(custom method) when app is killed using silent push notification?
Please answer me urgently.
Thank you in advance