H5任意门支持evaluateJavascript方法调用

Open
#1,212 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
android, java
Domain
mobile

Research direction

Start by locating MyWebView in the Android code and reading how its existing web-view methods are exposed to callers. Trace the current external API entry points before adding support for evaluateJavascript. Done means callers can invoke evaluateJavascript through the provided API and execute JavaScript in the H5 gateway.

Written by the indexing model from the issue text.

Description

平台:Android

当前H5任意门不支持evaluateJavascript方法,导致无法直接执行JavaScript代码。

需要增加:

  1. 在MyWebView中添加对evaluateJavascript方法的支持
  2. 提供相应API供外部调用

原始Issue: https://github.com/didi/DoKit/issues/639

Dominant language
Java
Stars
20.4k
Forks
3.2k
Avg merge
43m
Merged PRs (30d)
3

Getting set up

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.

More from didi/DoKit

All issues in didi/DoKit

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.