The syntax for Expo Modules 2 is pure Kotlin & Swift with lightweight annotations.
Agents are trained on Kotlin & Swift and the Android & iOS APIs. This means they already know a lot about what’s needed to use Expo Modules 2, and the official skill fills in the rest:
npx skills
@latest use expo/skills
@expo-migrate-module --agent claude-code
Expo Modules 2.0: a native module is now just an annotated Swift class.
No 𝚍𝚎𝚏𝚒𝚗𝚒𝚝𝚒𝚘𝚗(), no DSL. Write ordinary methods and properties, mark what JS should see.
And it's faster: up to 14.5x faster calls than SDK 55, up to 5.6x faster than the 1.0 API on the same SDK.
Try it on iOS in SDK 57 ↓
Show more