You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was checking out the documentation for subscribeToLocationUpdates, and I noticed there's a difference between the Readme.md and the comment above the function
The Readme.md says:
If an error occurs, the block will execute with a status other than INTULocationStatusSuccess, and the subscription will be kept alive.
Meanwhile the comment above subscribeToSignificantLocationChangesWithBlock reads:
If an error occurs, the block will execute with a status other than INTULocationStatusSuccess, and the subscription will be canceled automatically.
Which one is it now?
The text was updated successfully, but these errors were encountered:
So, in looking at the documentation vs the code, I believe the read me is correct, and the header comment is wrong.
Calling subscribeToSignificantLocationChangesWithBlock subscribes, meaning in the code it keeps around the block until the caller specifically cancels it.
I'll adjust the comment in the code tomorrow and mention it here (and tag you).
I was checking out the documentation for
subscribeToLocationUpdates
, and I noticed there's a difference between the Readme.md and the comment above the functionThe Readme.md says:
Meanwhile the comment above
subscribeToSignificantLocationChangesWithBlock
reads:Which one is it now?
The text was updated successfully, but these errors were encountered: