After opening iOS app “continue userActivity:” method isn't called - Firebase dynamic link

后端 未结 4 935
独厮守ぢ
独厮守ぢ 2021-01-16 10:18

I have successfully integrated Firebase dynamic links and when I click on dynamic link then my app is opening.

The issues I\'m facing is after opening app from dynam

4条回答
  •  借酒劲吻你
    2021-01-16 11:05

    To handle universal link in your application first you have to add an entitlement file with supported urls in your application.

    To do so open Xcode, Select your project, Goto Capabilities and find Associated Domain section.

    Turn on this capability and add an entry for each domain your app supports with a prefix of applinks:

    Now you have to implement application(_:continue:restorationHandler:) in your AppDelegate file. This method will be called when user click on link which your supports.

提交回复
热议问题