Contribute

How to help build Bridge.

Getting started

Clone the repository and install dependencies:

git clone https://github.com/palmshed/bridge.git
cd bridge
npm install
npm run dev

The example app runs at http://localhost:3000/bridge/.

Guidelines

Adding a plugin

  1. Create a directory under packages/<plugin-name>/.
  2. Define the TypeScript interface in src/types.ts and export it from src/index.ts.
  3. Implement platform code in src/android/ (Kotlin) and src/ios/ (Swift).
  4. Add tests for all three platforms.
  5. Write a README with examples and platform notes.

See the Plugin API Guide for the full interface contract and directory structure.

Code style

Pull requests

Code of conduct

This project follows a Code of Conduct. By participating, you agree to uphold it.

Questions?

Open an issue at github.com/palmshed/bridge/issues.