fluttercommunity / fluttercommunity/flutter_webview_plugin
The iOS and Android execution returns are inconsistent
- 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
Research direction
The issue names no source files or tests. Start by reproducing the evalJavascript snippet on both Android and iOS with the stated Flutter and plugin versions, then trace the platform-specific JavaScript evaluation paths. Done means the same structured result is returned on both platforms, or the platform difference is documented and explained.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100