c# - Trigger BackgroundTask either any of two conditions: PushNotification Received or using Geofence -


i have single backgroundtask. can start backgroundtask using both pushnotification or using "geofencing" technique in same app? requirement that, backgroundtask should start in either of following 2 cases:

  1. when push notification received, implemented on app , working well.
  2. when user change location, using "geofencing" technique need implement on app.

any appreciated. advance!

i found solution. can add many background tasks per requirement in package.appmanifest. have added 2 backgroundtasks , works perfectly. completed task successfully. enter image description here


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -