# youlookwhat/ByWebView

🌏  WebView 全方面使用，JS交互、进度条、上传图片、错误页面、视频全屏播放、唤起原生App、获取网页源代码、被作为第三方浏览器打开、DeepLink、[腾讯x5使用示例]

Repository: https://github.com/youlookwhat/ByWebView
Canonical: https://ross.abutalabs.com/products/bywebview
Homepage: https://youlookwhat.github.io/ByWebView
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android-webview, webview, tencent-x5, x5, deeplink, android
Last push: 2026-05-12T03:20:22+00:00

## Health v2 (maintenance only)
Score: 60/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 82, release rhythm 8, longevity 100
- inputs: {"age_days": 3578, "days_push": 113, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1576, forks 306 (observed 2026-08-28T04:05:06.013489+00:00)

## What it is
ByWebView is an Android WebView wrapper library that simplifies common WebView tasks such as JS interaction, progress bars, image uploads, error pages, fullscreen video playback, and invoking native apps. It also includes demos for DeepLink handling, being opened as a third-party browser, and Tencent X5 WebView integration.

## Use cases
- embed web pages in an android app with a smooth progress bar
- call javascript from android and let javascript call native methods
- handle image uploads from webview across android versions
- play web videos fullscreen inside an app
- show a custom error page when webview fails to load
- open phone dialer, sms, or email from web links
- handle deeplinks and be registered as a third-party browser
- use tencent x5 webview as a drop-in example

## When to choose
- you need a batteries-included Android WebView setup with JS bridge, progress bar, and lifecycle handling
- you want working examples of DeepLink, file upload, and fullscreen video in WebView
- you want to evaluate or integrate Tencent X5 WebView quickly

## When to avoid
- you are building for iOS or desktop platforms
- you only need a plain WebView with no extra configuration
- you need a cross-platform hybrid app framework like React Native or Flutter

## Facets
- artifact type: library
- maturity: stable
- function: web-framework, developer-tools
- domain: android-tools, mobile-development, web-development, developer-tools
- platform: -
- tags: webview, javascript-bridge, tencent-x5, deeplink, java, android-library, progress-bar, fullscreen-video, android, mobile

## Member repositories
- youlookwhat/ByWebView (main) score 60

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:06.013489+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:26.100123+00:00, confidence not recorded.
  - readme: https://github.com/youlookwhat/ByWebView (fetched 2026-08-28T04:05:06.013489+00:00, sha b29c74e9056e)
  - homepage: https://youlookwhat.github.io/ByWebView (fetched 2026-08-29T11:27:28.264537+00:00, sha 0eb495a84668)
- Data as of 2026-08-30T08:39:29.467469+00:00.
