gree / gree/unity-webview

Close Webview from Unity Webgl build (webview inside another unity project)

Open
#769 7 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

Actually I wanna close webview via this webgl build, window.close() doesnt work so I think one way which is redirect to about:blank and check coming url from webview's onStarted method if it is about:blank should close webview or Is there any possibility to send message from unitywebgl to webview which is inside main unity app, for close webview? if you have any good idea for it I would love to hear.

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 Unity WebGL build and the webview's onStarted method mentioned in the issue. Compare the proposed about:blank redirect with a message from the embedded build; done means the host Unity app can reliably close the webview.

Written by the indexing model from the issue text.

Assessment

Tech stack
unity
Domain
game-dev, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.