malcommac/SwiftLocation

Location services does not start correctly

itamaker opened this issue · 2 comments

First into the application without authorization, or executing a method
info.plist config:NSLocationWhenInUseUsageDescription

Location.getLocation(withAccuracy: .Block, onSuccess: { foundLocation in

})  { (lastValidLocation, error) in
           // something bad has occurred
           // - error contains the error occurred
          // - lastValidLocation is the last found location (if any) regardless specified accuracy level
 }

Hi, @itamaker, what's the problem?

Location services does not start correctly and no events is reported.
Fixed in 1.0.3 currently pushed both on CocoaPods and Carthage.