gree / gree/unity-webview

iOS iPad Pro black webview

Open
#495 3 comments 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

The webview solution works as expected on iPhone and android devices. When testing on iPad Pro (12.9) The webview just renders black. I have done a few tests and found.
1.) The webview is positioning properly - Set margins is working - I can see the black box.
2.) The web page is running. I can add a JavaScript alert("test") to my page and see the alert popup on the iPad.
3.) webview is reporting visible and success callback is called
4.) No errors in the console

Has anyone encountered this?
Thanks,
Ben

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

Reproduce the black webview on an iPad Pro 12.9 and compare it with the working iPhone and Android cases. Start by tracing the webview positioning, visibility and success callbacks, then verify the JavaScript alert behavior; done means the page renders instead of a black box without introducing console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c, unity
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.