How to create a Dynamic link in Firebase programmatically? Swift

前端 未结 1 1161
情深已故
情深已故 2021-01-26 15:50

I would like to create a firebase dynamic, but I can\'t get error in components.shorten

The operation couldn’t be completed. Long link is no

1条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-26 16:33

    Thanks for including the output in the comments, that made it easy to spot the errors.

    1. Only include the domain in the dynamic link domain, e.g. let dynamicLinkDomain = "a5481.app.goo.gl"
    2. To test further: you can debug the long link by adding "&d=1" to the end of the long lin, and pasting it in to a browser.

    0 讨论(0)
提交回复
热议问题