gree / gree/unity-webview

Problems of loading https://www.google.com

Open
#856 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C++
Stars
2.7k
Forks
734
Avg merge
11h 39m
Merged PRs (30d)
1

Description

Hi Developer, I got an issue when I try to change my app platform from iOS to Android

In iOS, the webview work great whatever get in which webpage. However, when I changed the platform from iOS to Android, the webview get a bug. When I try to get into the https://www.google.com, the webview will display a blank webview. The webview loaded the webpage, so I try to scroll the webpage, the webview start flash! When I stop scrolling the webpage, the webview display the white blank webpage again. Just the video show, when I interact something on the webpage, the webview become work fine

I've check the AndroidManifest.xml, the android:hardwareAccelerated and android:usesCleartextTraffic is true

Unity version: 2021.3.11f1
Using Phone: Huawei Y7 Prime 2018 Dual-SIM LDN-TL10 (Android 8.0.0)

I've not idea what is the problem of this bug ; )

https://user-images.githubusercontent.com/68040431/203892681-87f6f089-2a6a-4ee9-8a71-90c87c0d123e.mp4

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 by reproducing the blank and flashing WebView on Unity 2021.3.11f1 with Android 8.0 on the Huawei Y7 Prime 2018, loading https://www.google.com. Review the AndroidManifest.xml settings mentioned in the report and compare Android behavior with iOS. Done means the page renders and remains usable while scrolling on the reported Android setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, unity
Domain
mobile-dev
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.