Replies: 1 comment
-
@mbrandonw thank you so much for quick and helpful response! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There was a question posted on a comment of PR #12 and I thought it'd be better to address in a discussion:
92d4cad#commitcomment-56249518
@andreyz This is a good question, and we should update the docs to explain more.
The main reason we made this change is because we feel that the most common usage of location managers is to just have a single one, and the old API was designed to be able to support any number of managers. That API was kind of complicated since you had to juggle ids. So it didn't make sense to us to force people who just want a single manager to have to think about ids.
Having said that, if you do have a use case for multiple managers, then you will simply hold multiple managers in your environment:
Both of those managers are completely independent and powered by distinct
CLLocationManager
s under the hood.Beta Was this translation helpful? Give feedback.
All reactions