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

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

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

wendux/DSBridge-Android

0
View on GitHub↗
3,878 星标·649 分支·Java·5 次浏览

DSBridge Android

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 debugging tool that captures native exceptions and surfaces them as visual alerts within the web view to simplify the identification of crashes.

The framework covers a broad set of capabilities including native-to-web interface mapping, the ability to stream multiple sequential data updates from native functions to JavaScript, and the interception of web view lifecycle events. Additionally, it provides tools to override and customize the behavior and appearance of standard JavaScript alert, confirm, and prompt dialogs.

Features

  • Hybrid App Development - Implements a bidirectional communication bridge for orchestrating synchronous and asynchronous messaging between Android and web interfaces.
  • Bidirectional RPC Bridges - Provides a bidirectional communication layer mapping JavaScript function calls to native methods and vice versa.
  • Native Object Registrations - Allows the registration of JavaScript functions and objects so they can be triggered by the native Android environment.
  • WebView Integration Utilities - Provides utilities for managing WebView lifecycles and customizing standard browser dialog behaviors within Android apps.
  • JavaScript Bridges - Provides a communication layer for bidirectional function calls and data exchange between native Android code and JavaScript web views.
  • JavaScript Function Invocations - Enables native Android code to trigger specific JavaScript functions and receive return values through a defined handler.
  • JavaScript-to-Native Bridges - Exposes native Android methods to JavaScript scripts and triggers web functions from the native layer.
  • Native Function Exposers - Exposes native Android methods to the JavaScript environment for both synchronous and asynchronous execution.
  • Asynchronous Execution Models - Supports immediate return values for simple requests and callback-based responses for long-running native tasks.
  • Native WebView Integrations - Connects native Android code with web-based interfaces to allow bidirectional communication and shared data exchange.
  • Native Method Mappings - Registers specific JavaScript objects and functions as callable endpoints for the native Android environment.
  • Native-to-JS Data Streaming - Allows a native function to send multiple sequential data updates to a single JavaScript call before completing the request.
  • Cross-Layer Debugging Tools - Identifies and resolves communication errors between native code and web views using visual alerts and exception tracking.
  • Hybrid Application Debugging Toolsets - Offers specialized tools to capture native exceptions and bridge traffic as visual alerts for debugging hybrid applications.
  • Hierarchical Method Dispatching - Routes function calls through hierarchical dot-notation strings to isolate groups of methods and avoid naming conflicts.
  • Namespace Organization - Implements a system to organize native functions into hierarchical namespaces using dot notation to prevent naming conflicts.
  • Native API Orchestration - Organizes native functions into namespaces to manage complex interfaces and prevent naming conflicts in hybrid apps.
  • Cross-Layer Error Visualization - Captures native code crashes and exceptions and surfaces them as visual alerts within the web view.
  • Incremental Bridge Streaming - Allows a single native function call to send multiple sequential data updates back to a JavaScript listener.
  • Web View Integration - 目前地球上最好的IOS及Android javascript bridge

Star 历史

wendux/dsbridge-android 的 Star 历史图表wendux/dsbridge-android 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

DSBridge Android 的开源替代方案

相似的开源项目,按与 DSBridge Android 的功能重合度排序。
  • marcuswestin/webviewjavascriptbridgemarcuswestin 的头像

    marcuswestin/WebViewJavascriptBridge

    14,321在 GitHub 上查看↗

    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 a

    Objective-C
    在 GitHub 上查看↗14,321
  • 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
  • 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
  • apache/cordova-androidapache 的头像

    apache/cordova-android

    3,786在 GitHub 上查看↗

    This project is an Android hybrid mobile framework that enables the development of applications running web content inside a native Android container. It functions as a cross-platform build system that packages shared web assets into native binaries, allowing developers to access device hardware and system APIs via JavaScript. The framework utilizes a native device API bridge and a plugin architecture to expose hardware sensors and system-level functionality not available through standard browser interfaces. It employs a manifest-driven orchestration system to manage application metadata, bra

    JavaScript
    在 GitHub 上查看↗3,786
查看 DSBridge Android 的所有 30 个替代方案→

常见问题解答

wendux/dsbridge-android 是做什么的?

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.

wendux/dsbridge-android 的主要功能有哪些?

wendux/dsbridge-android 的主要功能包括:Hybrid App Development, Bidirectional RPC Bridges, Native Object Registrations, WebView Integration Utilities, JavaScript Bridges, JavaScript Function Invocations, JavaScript-to-Native Bridges, Native Function Exposers。

wendux/dsbridge-android 有哪些开源替代品?

wendux/dsbridge-android 的开源替代品包括: marcuswestin/webviewjavascriptbridge — WebViewJavascriptBridge is a communication layer for sending bidirectional messages between native Objective-C code… happydog-intj/jsbridge — JsBridge is a bidirectional communication layer for Android that synchronizes data and triggers actions between a… pedant/safe-java-js-webview-bridge — This library provides a secure communication bridge for Android applications, enabling interaction between native Java… apache/cordova-android — This project is an Android hybrid mobile framework that enables the development of applications running web content… apache/incubator-weex — Incubator-weex is a cross-platform mobile framework used to build user interfaces that run across different operating… hashicorp/go-plugin — go-plugin is a framework for implementing plugin architectures where extensions run as separate processes and…