EvaluateJS does not work on Android
Nobody has claimed this yet.
- Dominant language
- Objective-C++
- Stars
- 2.7k
- Forks
- 734
- Avg merge
- 11h 39m
- Merged PRs (30d)
- 1
Description
EvaluateJS does not work on Android.
It works fine on iOS and Unity editor, and it works normally except for EvaluateJS on Android.
The code for testing is below. This does not work and the specified web page is displayed as is.
webView.EvaluateJS ( "window.onload = function () {window.document.body.style.backgroundColor = 'black';};" );
Do you need any special settings?
Unity 2019.4.2f1, Android OS 10
Installation is done from Package Manager, and the version notation there is 1.0.0.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Android implementation of the EvaluateJS entry point and reproduce the issue with the provided Unity snippet on Unity 2019.4.2f1 and Android 10. Compare its behavior with iOS and the Unity editor. Done means the script runs on Android and changes the displayed page background to black.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, unity
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100