expo-module

Build Expo native modules and views across Swift, Kotlin, and TypeScript.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/rostiSe/mymemory --skill expo-module-rostise
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: expo-module
Source: https://github.com/rostiSe/mymemory/tree/main/.agents/skills/expo-module
Command: npx skills add https://github.com/rostiSe/mymemory --skill expo-module-rostise

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Guides developers in building Expo native modules and views using the Expo Modules API across Swift, Kotlin, and TypeScript, reducing setup friction and ensuring consistent architecture.

Core Features & Use Cases

  • Module DSL and lifecycle concepts: Name, Function, Property, Events, Constant, Shared Object
  • Native views and config plugins: define UI components and prebuild customization
  • Cross-language guidance: practical examples in Swift, Kotlin, and TypeScript
  • Use cases include creating a new native module or native view, wrapping platform SDKs, and adding config plugins to projects

Quick Start

Create a local Expo module scaffold with create-expo-module and customize it for your project.

Frequently Asked Questions about expo-module

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build Expo native modules with Swift, Kotlin, and TypeScript?

To build Expo native modules, you use the Expo Modules API across Swift, Kotlin, and TypeScript, utilizing the module DSL to define Names, Functions, Properties, Events, and SharedObjects for consistent cross-platform architecture.

What is the best way to create a native view in an Expo module?

Creating a native view in an Expo module involves using the Expo Modules API to define UI components natively in Swift and Kotlin, ensuring seamless integration and type safety with your TypeScript React Native project.

How do I add config plugins and prebuild customization to an Expo module?

Adding config plugins to an Expo module requires using the Expo Modules API to customize the prebuild phase, allowing you to modify native project configuration and wrap platform SDKs efficiently within your React Native setup.

Can I use Expo modules to wrap platform SDKs and handle lifecycle hooks?

Yes, Expo modules support wrapping platform SDKs by leveraging native lifecycle hooks and the module DSL in Swift and Kotlin, enabling robust native functionality exposure to your TypeScript React Native application.

How do I scaffold a new Expo module using create-expo-module?

You can scaffold a new Expo module by running the create-expo-module command to generate a local module structure, then customizing the Swift, Kotlin, and TypeScript files to define your module's APIs and native views.

Does the Expo Modules API support SharedObject DSL and autolinking?

Yes, the Expo Modules API explicitly supports the SharedObject DSL for complex data passing and autolinking for seamless module integration, alongside comprehensive native view and config plugin capabilities across Swift, Kotlin, and TypeScript.