fluttercommunity / fluttercommunity/flutter_webview_plugin
The iOS and Android execution returns are inconsistent
Open
- Dominant language
- Java
- Stars
- 1.5k
- Forks
- 938
- PR merge metrics
- No merged PRs in 30d
Description
flutter version: 3.7.7
flutter_webview_plugin version: 0.4.0
my code:
```
final flutterWebviewPlugin = FlutterWebviewPlugin();
var js = "var jsonRes = {\"abc\": 1, \"array1\": [1, 2, 3]};jsonRes";
await flutterWebviewPlugin.launch("about:blank", withJavascript: true, hidden: true);
String? javascriptResult = await flutterWebviewPlugin.evalJavascript(js) ?? '';
```
Android returned the correct result
iOS result:{
abc = 1;
array1 = (
1,
2,
3
);
}
What's going on here? Can you help me, please
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.