Closed bennnjamin closed 6 years ago
LocationItem initialization seems to crash on iOS 11, perhaps when location or internet is disabled. Here's a stacktrace
Line 141 of LocationItem is this one:
let addressDictionary = aDecoder.decodeObject(forKey: "addressDictionary") as! [String: AnyObject]
I suspect a force downcast would cause the crash but I am not sure what would cause this.
Fixed via https://github.com/JeromeTan1997/LocationPicker/commit/af32560131ba6c4f9d7b11dd11f7e3926f894d4f
LocationItem initialization seems to crash on iOS 11, perhaps when location or internet is disabled. Here's a stacktrace
Line 141 of LocationItem is this one:
I suspect a force downcast would cause the crash but I am not sure what would cause this.