fluttercommunity / fluttercommunity/flutter_webview_plugin

ios 13.3 Simulator: crashes when withLocalUrl: true

Open
#791 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

I used webview scaffold widget with `withLocalUrl: true`. It crashes app:

```
*** 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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.