PromiseKit / CoreLocation

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

When no string is included in info.plist, never fulfils or rejects. *In swift #6

Closed Vazmista closed 6 years ago

Vazmista commented 6 years ago

I've noticed that if the application doesn't have either whenInUse or always strings in the info.plist, the promise never gets fulfilled (or rejected), causing that promise to never return. I would have thought it would reject with some kind of error?

mxcl commented 6 years ago

Which promise?

mxcl commented 6 years ago

As far as I can tell, there's nothing I can do.

Apple do not call the error handler for this situation, and PromiseKit is merely a wrapper. If the underlying thing doesn't call the error handler then we cannot notify you of the error either.

mxcl commented 6 years ago

Cannot fix.