Use Deep Link, occur error
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
- Issue 類型
- 文件
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript, react-native
研究方向
從報告中連結的深度連結文件開始,將其中的 Expo 設定與所示的 app.json、expo-linking 和 NavigationContainer 用法進行比較。使用提供的範例在 iOS 模擬器中重現該錯誤,然後判斷文件是否需要針對 manifest 和重新建置需求加以說明。完成的標準是:文件中的設定能夠處理此執行階段錯誤,或清楚說明所需的設定。
由索引模型根據 Issue 內容生成。
描述
I'm using Deep link refer to doc: https://reactnavigation.org/docs/deep-linking#setup-with-expo-projects.
- Install dependencies:
{
"dependencies": {
"expo": "^49.0.13",
"expo-linking": "~5.0.2"
}
}
- Configure my app.json
{
"name": "ReactNativeDemo",
"displayName": "ReactNativeDemo",
"expo": {
"scheme": "mychat"
}
}
- import and use Deep Link
import * as Linking from 'expo-linking'
// the following code caused an error to occur
const prefix = Linking.createURL('/')
function App() {
const linking = {
prefixes: [prefix]
}
return (
<NavigationContainer linking={linking} fallback={<Text>Loading...</Text>}>
{/* content */}
</NavigationContainer>
)
}
- error message in my ternimal, but compiler is successfull, error occur only running app in ios simulator
Error: expo-linking needs access to the expo-constants manifest (app.json or app.config.js) to determine what URI scheme to use. Setup the manifest and rebuild: https://github.com/expo/expo/blob/main/packages/expo-constants/README.md, js engine: hermes
How should I solve this error???
- 主要語言
- JavaScript
- 星號
- 325
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 沒有貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
react-navigation/react-navigation.github.io 的其他 Issue
-
Mocking RN NativeAnimatedHelper - path has been changed可能已有人在做 @akkadaya 於 17 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 94/100
react-navigation/react-navigation.github.io#1516 · 1 則留言 ·
-
Docs: `overrideScrollViewContentInsetAdjustmentBehavior` option missing from Native Bottom Tab Navigator page可能已有人在做 @dobomode 於 140 天前認領。 未關閉
難度 1/5 1 小時以內 新手友好度 90/100
-
Remove mention of deprecated 'jest-native' in docs可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 1/5 1 小時以內 新手友好度 72/100
-
難度 1/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 72/100
查看 react-navigation/react-navigation.github.io 的全部 Issue
相似的 Issue
-
[quality] useFocusTrap's Shift+Tab wrap and non-Tab/non-Escape key arms are never driven end to end可能已有人在做 @hivecommons-hive 今天認領。 未關閉agent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
agentic-workflows
難度 1/5 1 小時以內 新手友好度 85/100
githubnext/gh-aw-workshop#4220 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 92/100
JuliusBrussee/caveman#1189 ·
維護者通常 1 天內回覆
-
priority:low ready-for-dev
難度 2/5 1-3 小時 新手友好度 78/100
OpenHands/extensions#738 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
invoiceninja/invoiceninja#13320 ·
維護者通常 1 天內回覆