skip to Main Content

How to check if Firebase DynamicLink is already shortened and there is no need to shorten it again? – Ios swift

This is my simple function: import FirebaseDynamicLinks let url = URL(string: "https://joyone.page.link/pXJG7y5kLPgxoTyg6?title=Klub+Innowator%C3%B3w+OPZZ") let prefix = "https://joyone.page.link" DynamicLinkComponents(link: url, domainURIPrefix: prefix)?.shorten { [weak self] url, _, error in print(url) // https://joyone.page.link/wZiUKDego5EmFY6VA print(error) // nil } This function should return error Cannot…

VIEW QUESTION
Back To Top
Search