fluttercommunity / fluttercommunity/flutter_webview_plugin
How to launch/load local html for iOS?
Aperta
- Lingua principale
- Java
- Stelle
- 1.5k
- Fork
- 938
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
);
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.