{"adoption": {"forks": 561, "observed_at": "2026-08-28T04:06:50.282586+00:00", "stars": 2415}, "canonical_url": "https://ross.abutalabs.com/products/safe-java-js-webview-bridge", "card": {"archived": false, "artifact_type": "library", "description": "为WebView中的Java与JavaScript提供【安全可靠】的多样互通方案", "domain": ["mobile-development", "web-development", "security", "android-tools"], "enriched": true, "function": ["security", "sdk", "developer-tools"], "health_score": 20, "homepage": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/", "language": "JavaScript", "license": null, "license_family": "other", "maturity": "abandoned", "member_repos": ["pedant/safe-java-js-webview-bridge"], "name": "pedant/safe-java-js-webview-bridge", "platform": ["jvm"], "pushed_at": "2019-10-05T02:30:55+00:00", "repo": "pedant/safe-java-js-webview-bridge", "stars": 2415, "tags": ["webview", "hybrid-app", "javascript-bridge", "android", "js-java-interop", "mobile"], "topics": [], "urls": [], "use_cases": ["call native Java methods from JavaScript in an Android WebView", "secure JS-to-Java bridge for hybrid Android apps", "avoid addJavascriptInterface security vulnerability on old Android versions", "support async callbacks between web page JS and native code", "build hybrid apps with safe WebView native interop"], "what_it_is": "An Android library providing a safe alternative to WebView's addJavascriptInterface for Java-JavaScript communication, using WebChromeClient prompt-based injection to avoid the remote code execution vulnerability on Android < 4.2. It supports async callbacks, method overloading, and all common JS parameter types.", "when_to_avoid": ["targeting only Android 4.2+ where @JavascriptInterface is sufficient", "you need an actively maintained library with recent updates and support", "building cross-platform apps where a modern framework bridge is available"], "when_to_choose": ["building a hybrid Android app that must support Android versions below 4.2 safely", "you need a lightweight drop-in WebView JS bridge with async callback support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/safe-java-js-webview-bridge", "repo": "pedant/safe-java-js-webview-bridge", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.282586+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:33:11.876345+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "eca6495bb40a8f455d754d56d78b59b93150e82b38e49cd50ba63d78da27254f", "fetched_at": "2026-08-28T04:06:50.282586+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pedant/safe-java-js-webview-bridge"}, {"content_hash": "dd54469aad55dc320e80f3ac4a9e90adc25a43bb2407897ee945ebcccbe0f1c2", "fetched_at": "2026-08-29T10:14:04.733309+00:00", "kind": "homepage", "missing": false, "url": "http://pedant.github.io/2014/07/04/webview-js-java-interface-research/"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:39:23.370411+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4440, "days_push": 2525, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}