Is there a way to update SQLite as soon as the push notification is received but the app is not running currently(or the app was killed).
If the notification arrives when the app is running or in background - "didReceiveRemoteNotification" method handles my update.
If the notification arrives when the app is not running I want to update the content of push notification to my sqlite. The update works when the user taps on the notification but it doesn't work when the user taps on the app icon. Please help. Thank you.