0

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.
Maulik Pandya
  • 2,200
  • 17
  • 26

2 Answers2

1

Yes you can. Check out Apple's documentation here

If your server sends push notifications to a user’s device when new content is available for your app, you can ask the system to run your app in the background so that it can begin downloading the new content right away.

Swinny89
  • 7,273
  • 3
  • 32
  • 52
1

If the app has killed by a user or it's terminated by OS then your app will not awake.

Check this link iOS Silent Push Notification

Community
  • 1
  • 1
kb920
  • 3,039
  • 2
  • 33
  • 44