Add Swift AppDelegate setup instructions for deep linking#1428
Merged
satya164 merged 4 commits intoreact-navigation:mainfrom Jul 27, 2025
Merged
Conversation
✅ Deploy Preview for react-navigation-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
Author
|
I think this is also related to #1425, but the changes I have made here have not created any build issues and are working perfectly fine. In my case I had set up the app with v6 before, and deep linking and everything was working, so all the configurations on |
Contributor
Author
|
This is the complete |
|
We might want to rewrite this section using tabs <Tabs groupId="app-delegate">
<TabItem value="objc" label="AppDelegate.m">
// ...
</TabItem>
<TabItem value="swift" label="AppDelegate.swift">
// ...
</TabItem>
</Tabs>
If your app is using [Universal Links](https://developer.apple.com/ios/universal-links/), you'll need to add the following code as well:
<Tabs groupId="app-delegate">
<TabItem value="objc" label="AppDelegate.m">
// ...
</TabItem>
<TabItem value="swift" label="AppDelegate.swift">
// ...
</TabItem>
</Tabs> |
satya164
pushed a commit
to shubh73/react-navigation.github.io
that referenced
this pull request
Jan 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds an alternative setup option for iOS projects using Swift, introduced in React Native v0.79.0. The new section provides developers with the necessary AppDelegate.swift implementation for handling deep links.
It includes new Swift code snippets for configuring deep linking in the AppDelegate.swift file, enhancing the documentation for users implementing Universal Links in their React Native applications. The previous content has been slightly modified for clarity.