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:
- When push notification is received, which I already implemented on my app and it is working well.
- When user change its location, using "Geofencing" technique which I need to implement on my app.
Any help would be appreciated. Thanks is advance!