fluttercommunity / fluttercommunity/flutter_webview_plugin

On some android devices the javascript doesn't seem to be loaded correctly

Open
#901 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.5k
Forks
936
PR merge metrics
No merged PRs in 30d

Description

Reviewing some logs from bugsnag, I got a lot of these:

ReferenceError ·'methodName' is not defined

It happens only on some android devices, some of the info I have:

Webview 90.0.4430
Android versione: 10, 11
Devices: Redmi Note, Huawei, Samsung, etc.

It works on all the apple devices and on most of the android devices - we can't reproduce it.

Any way to understand what could be going wrong?

Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Bugsnag error and the reported WebView 90.0.4430 environments on Android 10 and 11. Compare JavaScript loading behavior across the affected Redmi, Huawei, and Samsung devices and devices where it works. Done means the cause of the device-specific failure is identified and the fix is verified on the affected Android configurations.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, flutter, javascript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.