Is deep linking documentation for ios wrong with regards to the scheme and identifier?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 52/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- ios, react-native
- Ambito
- documentation, mobile
Direzione di ricerca
Inizia dalla sezione “Setup on iOS” della documentazione sul deep linking e confronta il comando npx uri-scheme con le istruzioni manuali di Xcode. Controlla le indicazioni di Apple sugli schemi URL personalizzati collegate nell’issue, inclusa la distinzione tra Identifier e URL Scheme. Il lavoro è completato quando la documentazione spiega in modo coerente i valori corretti e riflette la configurazione verificata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
initially posted here: https://github.com/react-navigation/react-navigation/discussions/10462
but got no response, and i feel like this is important.
under the docs for deep linking on ios: https://reactnavigation.org/docs/deep-linking/#setup-on-ios
there is a section for setting the scheme in the project.
here it says you can run a command to do it automatically:
npx uri-scheme add mychat --ios
this does indeed add mychat as a "URL Scheme" in Xcode. however, it does not add an "Identifier". that is left blank.
then underneath, there are instructions on how to do it manually instead of automatically.
here it shows that we need to add mychat for both "Identifier" and "URL Scheme". this is different than the previous method, now "Identifier" is no longer left blank.
i found the apple docs for deep linking: https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app
and here it says:
The identifier you supply with your scheme distinguishes your app from others that declare support for the same scheme. To ensure uniqueness, specify a reverse DNS string that incorporates your company’s domain and app name.
their example also shows that the "Identifier" is com.example.myphotoapp while the "URL Scheme" is myphotoapp.
so this makes me believe that the react-navigation documentation shouldt say we should set same string for both. it should show an example similar to the example from Apple.
now since every app already has a bundleId which is a reverse DNS string, that one should be used.
- Lingua principale
- JavaScript
- Stelle
- 324
- Fork
- 2k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di react-navigation/react-navigation.github.io
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
react-navigation/react-navigation.github.io#1516 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Tutte le issue di react-navigation/react-navigation.github.io
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bevyengine/bevy-website#2595 ·