expo logo
#215 by installsMobile & cross-platformexpo/skills

expo-module

Build native iOS and Android modules for Expo using Swift, Kotlin, and the Modules API

Installs
40.3K
all time
This week
686
installs
Repo stars
2.7K
GitHub
First seen
Apr 2, 2026
on skills.sh
Install
npx skills add https://github.com/expo/skills --skill expo-module
Works with Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Gemini CLI and other agents that read SKILL.md.
What it does

Complete reference for creating Expo native modules and views with the Modules API, covering Swift (iOS), Kotlin (Android), and TypeScript. Reach for it when adding native functionality like camera or sensors to an Expo app, wrapping platform SDKs, or building config plugins. Handles module definition DSL, shared objects, lifecycle hooks, and autolinking—but not migrations from older DSL to 2.0 macros.

  • Define native modules and views in Swift/Kotlin with TypeScript type bindings
  • Wrap platform SDKs (camera, sensors, system APIs) for React Native consumption
  • Create and edit config plugins that modify native project files and lifecycle hooks
  • Set up autolinking, expo-module.config.json, and multi-platform module architecture