Hi All,
I am using (Always Allow) location permission in my iOS Xamarin Forms application. The problem I face today is that I'm unable to fully leverage ALWAYS permission in order to bring back my app (which was already killed) in the background whenever a location event occurs. Any Solution for that ?
Thank you
@AnbuMani27,
When you do call StartUpdatingLocation function, then when the application is terminated by the user you will not be able to receive the updates. But when you need location updates even when user terminates the app, you need to use the StartMonitoringSignificantLocationChanges function (which can only update location to your app by invoking it when there's some significant changes).
Based upon your usage, you can also use Visit and CircularRegion to make use of it.
BTW, I'm also looking for a solution to use StartUpdatingLocation
function (because of the frequent need of location updates) even when the user terminates the app, update me once you're able to do so with any workaround.
Regards,
Yousuf.
Answers
@AnbuMani27,
When you do call StartUpdatingLocation function, then when the application is terminated by the user you will not be able to receive the updates. But when you need location updates even when user terminates the app, you need to use the StartMonitoringSignificantLocationChanges function (which can only update location to your app by invoking it when there's some significant changes).
Based upon your usage, you can also use Visit and CircularRegion to make use of it.
BTW, I'm also looking for a solution to use
StartUpdatingLocation
function (because of the frequent need of location updates) even when the user terminates the app, update me once you're able to do so with any workaround.Regards,
Yousuf.
Hi @yousufctec .. Yes i am using **StartUpdatingLocation ** . Sure once i get the solution then let u know here.