1

I have as single BackGroundTask. Can we start this BackgroundTask using both PushNotification or using "Geofencing" technique in a same app? My requirement is that, BackgroundTask should start in either any of the following two cases:

  1. When push notification is received, which I already implemented on my app and it is working well.
  2. When user change its location, using "Geofencing" technique which I need to implement on my app.

Any help would be appreciated. Thanks is advance!

Kishor Bikram Oli
  • 1,748
  • 1
  • 22
  • 40

1 Answers1

0

I found the solution. You can add as many background tasks as per your requirement in package.appmanifest. I have added two BackgroundTasks and works perfectly. I completed my task successfully. enter image description here

Kishor Bikram Oli
  • 1,748
  • 1
  • 22
  • 40