If you launch your app directly from the dynamic link (and assuming your app is not already running in the background) then application:continueUserActivity is not called.
In the past, we used to rely on the application:didFinishLaunchingWithOptions however as of iOS13 and Xcode 9, that doesn't work anymore. Now when you launch the app from a dynamicLink, the launchOptions is nil and so this doesn't work anymore (An example of this solution that does NOT work anymore is here: https://stackoverflow.com/a/46722785/6553577 )
Does anyone know how to deal with this issue? (Thanks for your response)