I'm not sure if it is a bug or the expected behavior.
I create a CLLocationManager promise with a satisfying block.
This promise fulfill event if no locations are validated by the satisfying block. I would have expected that the promise will fulfill only if there is at least one satisfying location.
Hi,
I'm not sure if it is a bug or the expected behavior. I create a
CLLocationManager
promise with a satisfying block. This promise fulfill event if no locations are validated by the satisfying block. I would have expected that the promise will fulfill only if there is at least one satisfying location.In
CLLocationManager+promise.swif
we haveI can propose a Pull Requests with something like:
With this implementation, we are waiting for at least one satisfying location.
Regards, Quentin