PKPassLibraryDidChangeNotification when the app is in background(iOS)

259 Views Asked by At

Is it possible to receive PKPassLibraryDidChangeNotification when my app is in background?

For instance, if my coupon rewards changes(by scanning the QR code) my app has to update its database with the changed reward even if it is in background. I think its possible, if some thread is listening to PKPassLibraryDidChangeNotification forever in the background but apple doesn't encourage to run a task in background forever.

So any other alternate suggestions to achieve this?

0

There are 0 best solutions below