Firebase dynamic linking - Continueuseractivity not returning dynamic link url

前端 未结 3 1101
北海茫月
北海茫月 2021-01-22 09:29

My requirement is to handle universal links on the iOS application. But the dynamic link.url seems to be returning an error as below -

\"@\"error\" : @\"unauth         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-22 09:43

    I was able to get the dynamic link url value. There was an additional check in my code as below -

    if (launchOptions != nil) {
    [FIROptions defaultOptions].deepLinkURLScheme = URL_SCHEME;

    }

    Because of this check, the URL scheme was never getting initialised and hence was erroring out.

    The code that i have posted above should return the right dynamic link url.

    Thanks.

提交回复
热议问题