awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
marcuswestin avatar

marcuswestin/WebViewJavascriptBridge

0
View on GitHub↗
14,321 星标·2,963 分支·Objective-C·MIT·4 次浏览marcuswest.in↗

WebViewJavascriptBridge

WebViewJavascriptBridge is a communication layer for sending bidirectional messages between native Objective-C code and JavaScript within iOS and macOS web views. It serves as an interoperability toolkit for synchronizing data and executing callbacks between native Apple platform applications and their embedded web content.

The project provides a messaging interface that exposes native functions to the web environment and triggers JavaScript handlers from native application code. It enables the registration of named handlers in native code that can be invoked by JavaScript to request device actions.

The bridge manages communication through a named handler registry and a system for callback-based response routing. It utilizes mechanisms such as URL-scheme message passing and string-evaluation execution to facilitate the exchange of data between the native layer and the web view.

Features

  • Asynchronous Message-Passing Bridges - Implements an asynchronous message-passing bridge for bidirectional communication between Objective-C and JavaScript.
  • Native Object Registrations - Registers named native functions that can be invoked from JavaScript to request device actions or data.
  • Host-to-Embedded Data Synchronizers - Provides bidirectional communication channels to synchronize state between a native host and an embedded web view.
  • Hybrid App Development - Facilitates hybrid application development by bridging native system capabilities with web-based content.
  • WebKit Interoperability - Provides a toolkit for synchronizing data and executing callbacks between native Apple platform apps and embedded web content.
  • Communication Channels - Defines named communication channels for exchanging data between native code and JavaScript environments.
  • Native Function Invocations - Provides a mechanism for the web view to invoke native handlers and receive responses via callbacks.
  • JavaScript Interop - Enables synchronization of state and execution of functions between Objective-C native logic and JavaScript.
  • JavaScript-to-Native Bridges - Implements an asynchronous communication layer to map JavaScript calls to native Objective-C handlers.
  • Native-to-Script Function Invocations - Implements mechanisms for calling named functions in the JavaScript environment from native Objective-C code.
  • Web View Script Execution - Enables triggering specific JavaScript handlers within the web view and capturing return values via native callbacks.
  • JavaScript Execution Bridges - Provides a mechanism for executing scripts and invoking functions within a web view from a native host application.
  • Web-Native Integration Bridges - Provides a bridge that allows web-based content to communicate with and trigger actions within a native host environment.
  • Script String Evaluation - Runs JavaScript functions by injecting and evaluating raw string scripts directly into the web view's execution context.
  • URL Scheme Handlers - Uses custom URL schemes to transmit data from JavaScript to native code via request interception.
  • Named Function Registries - Maintains a registry of named native handlers that are available for invocation from the web environment.
  • Task-to-Response Mapping - Maps unique identifiers to specific callback functions to route asynchronous responses from native code back to the caller.

Star 历史

marcuswestin/webviewjavascriptbridge 的 Star 历史图表marcuswestin/webviewjavascriptbridge 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

WebViewJavascriptBridge 的开源替代方案

相似的开源项目,按与 WebViewJavascriptBridge 的功能重合度排序。
  • happydog-intj/jsbridgehappydog-intj 的头像

    happydog-intj/JsBridge

    9,912在 GitHub 上查看↗

    JsBridge is a bidirectional communication layer for Android that synchronizes data and triggers actions between a native Java application and an embedded web view. It serves as an interface for calling Java methods from JavaScript and executing JavaScript functions from native Android code. The project features an asynchronous bridge queue that stores pending function calls in a readiness buffer, ensuring requests are executed only after the connection between the native and web environments is stable. It utilizes callback identifier mapping to route asynchronous native responses back to the

    Java
    在 GitHub 上查看↗9,912
  • wendux/dsbridge-androidwendux 的头像

    wendux/DSBridge-Android

    3,878在 GitHub 上查看↗

    DSBridge-Android is a communication framework and JavaScript bridge for Android that enables bidirectional function calls and data exchange between native Android code and web views. It serves as an integration tool for hybrid applications, providing a system to orchestrate synchronous and asynchronous messaging between the native mobile environment and web-based interfaces. The project distinguishes itself through a namespace-based method dispatching system that uses dot-notation to organize functions into hierarchical groups, preventing naming conflicts. It also includes a cross-layer debug

    Javajavascript-bridgejsbridgesupport-x5
    在 GitHub 上查看↗3,878
  • cefsharp/cefsharpcefsharp 的头像

    cefsharp/CefSharp

    10,205在 GitHub 上查看↗

    CefSharp is a .NET binding for the Chromium Embedded Framework that allows developers to embed a full web browser into desktop applications. It provides an embedded browser control for rendering HTML, CSS, and JavaScript content within a native host window. The project features a bidirectional JavaScript bridge interface that enables the execution of scripts and the exposure of native host classes and methods to the browser environment. It also includes a headless browser automation tool for executing web tasks and capturing page screenshots without a graphical user interface. The library co

    C#browserc-plus-plusc-sharp
    在 GitHub 上查看↗10,205
  • pedant/safe-java-js-webview-bridgepedant 的头像

    pedant/safe-java-js-webview-bridge

    2,415在 GitHub 上查看↗

    This library provides a secure communication bridge for Android applications, enabling interaction between native Java code and web-based JavaScript interfaces within a WebView. It facilitates the invocation of native system methods from web scripts and manages the exchange of data across the language boundary. The framework utilizes a prompt-based interception layer to validate method signatures before execution, ensuring that only authorized native code is triggered. It supports complex data exchange through structured serialization and provides a mechanism for mapping native methods to web

    JavaScript
    在 GitHub 上查看↗2,415
查看 WebViewJavascriptBridge 的所有 30 个替代方案→

常见问题解答

marcuswestin/webviewjavascriptbridge 是做什么的?

WebViewJavascriptBridge is a communication layer for sending bidirectional messages between native Objective-C code and JavaScript within iOS and macOS web views. It serves as an interoperability toolkit for synchronizing data and executing callbacks between native Apple platform applications and their embedded web content.

marcuswestin/webviewjavascriptbridge 的主要功能有哪些?

marcuswestin/webviewjavascriptbridge 的主要功能包括:Asynchronous Message-Passing Bridges, Native Object Registrations, Host-to-Embedded Data Synchronizers, Hybrid App Development, WebKit Interoperability, Communication Channels, Native Function Invocations, JavaScript Interop。

marcuswestin/webviewjavascriptbridge 有哪些开源替代品?

marcuswestin/webviewjavascriptbridge 的开源替代品包括: happydog-intj/jsbridge — JsBridge is a bidirectional communication layer for Android that synchronizes data and triggers actions between a… wendux/dsbridge-android — DSBridge-Android is a communication framework and JavaScript bridge for Android that enables bidirectional function… cefsharp/cefsharp — CefSharp is a .NET binding for the Chromium Embedded Framework that allows developers to embed a full web browser into… pedant/safe-java-js-webview-bridge — This library provides a secure communication bridge for Android applications, enabling interaction between native Java… googlechromelabs/carlo — Carlo is a Node.js web rendering framework and desktop application bundler. It functions as a server-side browser… apache/cordova-android — This project is an Android hybrid mobile framework that enables the development of applications running web content…