fluttercommunity / fluttercommunity/flutter_webview_plugin
How to launch/load local html for iOS?
Open
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
I have a html file in assets/index.html, I can launch it for Android use the url like:
```dart
String localUrl = 'file:///android_asset/flutter_assets/assets/index.html';
```
What url should I use for iOS? Following is the launch code:
```dart
_flutterWebviewPlugin.launch(
localUrl,
ignoreSSLErrors: true,
withLocalUrl: true,
localUrlScope: 'assets/',
allowFileURLs: true,
hidden: true
);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.