PromiseKit / CoreLocation

Promises for Swift & ObjC
http://promisekit.org
MIT License
30 stars 29 forks source link

Update LocationManager Parameters #29

Closed martheli closed 5 years ago

martheli commented 5 years ago

Is there a way to set LocationManager parameters like allowsBackgroundLocationUpdates or pauseLocationUpdatesAutomatically? If this is possible via the satisfying block, can an example be provided?

mxcl commented 5 years ago

It is not.

mxcl commented 5 years ago

Really we should make our promise an instance member. We’ve done it in other places. We would have to take over the delegate however, which is the main reason it is static.