Open fedotxxl opened 4 years ago
I used webview scaffold widget with withLocalUrl: true. It crashes app:
withLocalUrl: true
*** First throw call stack: ( 0 CoreFoundation 0x00007fff23c7127e __exceptionPreprocess + 350 1 libobjc.A.dylib 0x00007fff513fbb20 objc_exception_throw + 48 2 CoreFoundation 0x00007fff23c91fd4 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 3 CoreFoundation 0x00007fff23c75c4c ___forwarding___ + 1436 4 CoreFoundation 0x00007fff23c77f78 _CF_forwarding_prep_0 + 120 5 Foundation 0x00007fff257a819b -[NSURL(NSURL) initFileURLWithPath:] + 68 6 Foundation 0x00007fff257a8b54 +[NSURL(NSURL) fileURLWithPath:] + 45 7 flutter_webview_plugin 0x000000010f48cc8e -[FlutterWebviewPlugin navigate:] + 590 8 flutter_webview_plugin 0x000000010f48c2d9 -[Flutt<…>
After changing withLocalUrl: false app works as expected. Info.plist contains NSAppTransportSecurity according to readme
withLocalUrl: false
NSAppTransportSecurity
this bug in my app too。how can you resolve this ?
I used webview scaffold widget with
withLocalUrl: true
. It crashes app:After changing
withLocalUrl: false
app works as expected. Info.plist containsNSAppTransportSecurity
according to readme