I have an app targeted for wp 7 and the push notification trigger sqlite code to insert messages into sqlite db. This works fine when the app is in the foreground, but the sqlite code will not work when app is the background.
What is the best approach to take so that when user received push notification, it can execute sqlite codes in the background?
I read up on background agent, but wasn't sure how background agent can received data from push notification. Any examples or idea will be very helpful? Thank you so much!
Aucun commentaire:
Enregistrer un commentaire