Skip to content

Deep Linking Support #1006

Answered by mbrandonw
DavidKmn asked this question in Q&A
Feb 22, 2022 · 1 comments · 8 replies
Discussion options

You must be logged in to vote

Deep linking in TCA would happen in much the same way as it did in the last episode of the navigation series (this one). You first need to figure out how you are going to process the incoming deep link URL in order to figure out where the user needs to be routed (we used our parsing library to accomplish this, but you can use anything) and then you construct the app state to represent where you want to navigate to.

Although isowords doesn't need deep linking it does need to route push notifications, which is similar. We parse an incoming push notification payload and figure out where to navigate the user here:

https://github.com/pointfreeco/isowords/blob/b87f4c61c0523564adf17c031f9fa4b88a…

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@johnpatrickmorgan
Comment options

@DavidKmn
Comment options

@johnpatrickmorgan
Comment options

@DavidKmn
Comment options

@johnpatrickmorgan
Comment options

Answer selected by DavidKmn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants