gree / gree/unity-webview

How to call the WebView function from the web

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

I'd like to turn off WebView when I launch WebView and press a specific button on the web.
How do I call the Destory? Function in the plugin from the web?
Web programmers say
WebView wv = (WebView) findViewById (R.id.PayView);
wv.addJavascriptInterface (new JavaScriptInterface (this), "android");

Is there any way to know if this source says "android" should know this part?

Is there another way?

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

The issue names no file, test, or entry point to inspect. First clarify whether the request is for an Android JavaScript bridge or another WebView path, then identify the plugin entry point for WebView destruction and define the expected behavior when the web button invokes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, javascript, unity
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.