I implemented Universal Link using Firebase Dynamic Links in my iOS app. Everything is working fine until app opens from background state i.e., continue userActivity
method triggered and I handled navigations. But the problem here is, if I click any Deep Link while app is in terminated state, it is opening the app without navigating to particular screen, because the continue userActivity
method not called so the navigation code not executing. Can you please help to figure out solution.
Asked
Active
Viewed 1,367 times
0

Harsha
- 760
- 1
- 7
- 21
1 Answers
2
The problem is that you are returning false
from didFinishLaunching
. That prevents continue
from being called.

matt
- 515,959
- 87
- 875
- 1,141
-
It worked as you said, thanks for the answer. But I'm returning `ApplicationDelegate.shared.application(application, didFinishLaunchingWithOptions: launchOptions)`. I checked that and I don't know why it is returning `false`. Can you please explain what's happening there? – Harsha Aug 21 '20 at 08:28
-
1If the launch options tell you that you have a user activity, you need to return `true`. – matt Aug 21 '20 at 14:59