fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 930 forks source link

withLocalUrl() let's whole Flutter-App crash on iOS #563

Open HardVeur opened 5 years ago

HardVeur commented 5 years ago

System info

Issue occurs on: iOS maybe on Android too Plugin version: 0.3.8 Flutter doctor output:

[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.14.6 18G87, locale de-DE)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
[✓] Connected device (1 available)

• No issues found!

You can easily reproduce use a clean flutter app with flutter create. After that setup the plugin by adding it to pubspec.yaml and go to Info.plist and make the entry mentioned in the readme. In your code use WebViewScaffold and the the withLocalUrl to true --> App crashes

charafau commented 5 years ago

thank you for report, will check that soon

x4080 commented 4 years ago

Hi @charafau , do you have solution yet ?

charafau commented 4 years ago

Haven't touched this one, does it still occur on newest version?

x4080 commented 4 years ago

I think so, and I just disable withLocalUrl in ios 13 and it works, havent tried it in android

RowgerGo commented 3 years ago

this bug in my app too。how can you resolve this ?