Search Documentation

Search for functions, classes, interfaces, and more

MobyApps Bridge

@mobyapps/bridge

MobyApps Bridge

Welcome to the MobyApps Bridge documentation.

Overview

The MobyApps Bridge provides communication between web applications and native mobile applications, enabling seamless integration of web-based mini apps within the MobyApps platform.

Features

  • Native-web communication: Bidirectional messaging between web and native contexts
  • Event handling: Subscribe to and emit events across the bridge
  • Type-safe APIs: Built with TypeScript for better developer experience
  • Cross-platform support: Works seamlessly across iOS and Android
  • Comprehensive documentation: Well-documented APIs with examples

Getting Started

Installation

npm install @mobyapps/bridge
# or
pnpm add @mobyapps/bridge
# or
yarn add @mobyapps/bridge

Basic Usage

import { MobyAppsBridge } from '@mobyapps/bridge';

const bridge = new MobyAppsBridge({
  // configuration options
});

Core Modules

Message Passing

Send and receive messages between web and native contexts.

Event System

Subscribe to platform events and emit custom events.

Platform Integration

Seamless integration with native mobile platform features.

Examples

Check out the examples in the documentation to see how to use the Bridge in your projects.

Support

For questions and support, please refer to the main documentation or contact the development team.