Skip to main content

brownfield-navigation

Route React Native calls to existing native screens through a generated Brownfield navigation contract.

来源信息

仓库
callstack/react-native-brownfield
最近来源活动
2026年5月19日 05:50
检测到的 SKILL.md 语言
英语
星标
553
Forks
58

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
5 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
brownfield-navigation
description
Route React Native calls to existing native screens through a generated Brownfield navigation contract.
license
MIT
metadata
{"author":"Callstack","tags":"react-native, expo, brownfield, navigation"}
# Overview Brownfield navigation has three steps: 1. Define `brownfield.navigation.ts` 2. Run `npx brownfield navigation:codegen` 3. Wire native delegates before JS calls Read only the smallest reference that matches the question. ## Routing (concern -> file) Concern | Read --------|------ Contract file location, supported signatures, codegen command, generated artifacts | [`references/setup-codegen.md`](references/setup-codegen.md) Calling methods from React Native, `undefined is not a function`, API drift after contract edits | [`references/javascript-usage.md`](references/javascript-usage.md) iOS-only delegate implementation and startup registration | [`references/native-ios-integration.md`](references/native-ios-integration.md) Android-only delegate implementation and startup registration | [`references/native-android-integration.md`](references/native-android-integration.md) ## Minimal command reference ```bash npx brownfield navigation:codegen npx brownfield package:ios npx brownfield package:android npx brownfield publish:android ```
在 GitHub 查看