best-flutter/flutter_amap_location

The return value of IOS location information lacks the judgment of null

Aries233 opened this issue · 1 comments

image
I've added checknull to all the local files

ginoz commented

Fatal Exception: NSInvalidArgumentException*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[7] Raw Text

0 | CoreFoundation | __exceptionPreprocess
4 | CoreFoundation | +[NSDictionary dictionaryWithObjects:forKeys:count:]
5 | Runner | AmapLocationPlugin.m line 200+[AmapLocationPlugin regeocode2map:]
6 | Runner | AmapLocationPlugin.m line 175__41-[AmapLocationPlugin getLocation:result:]_block_invoke
7 | libdispatch.dylib | _dispatch_call_block_and_release
14 | UIKitCore | (Missing)
15 | Runner | AppDelegate.swift line 5main
16 | libdyld.dylib | start

与这个问题会有关吗?