WillyCode
WillyCode

Reputation: 135

Receiving location information without having my app open in the background

I have no knowledge in android development nor in ios apps.

Is there a way to get the user's location without my app (android/ios) being open in the background (with the user's acceptance)?

Thanks!

Upvotes: 0

Views: 99

Answers (1)

user4812510
user4812510

Reputation:

Yes you can have an Android Service that listens for location changes. See LocationManager in service as one example. Depending one what you are doing, the question is how should you start your service.

Upvotes: 2

Related Questions