Skip to content

[Question] [IOS] Xcode throw : Deeplink url is empty but the diagnostic is completely fine #996

Closed
@Nolkeg

Description

@Nolkeg

[REQUIRED] Please fill in the following fields:

  • Unity editor version: _____2019.4.21
  • Firebase Unity SDK version: _____7.5
  • Source you installed the SDK: _____ .unitypackage
  • Problematic Firebase Component: _____ dynamic link
  • Other Firebase Components in use: _____Analytics and FCM
  • Additional SDKs you are using: _____ Facebook
  • Platform you are using the Unity editor on: _____ Mac
  • Platform you are targeting: _____ iOS
  • Scripting Runtime: _____ IL2CPP

[REQUIRED] Please describe the question here:

When opening the dynamic links(both short and long link), the app was opened correctly. But Xcode throw "Deeplink url is empty" and the dynamicLinkEventArgs.ReceivedDynamicLink.Url.OriginalString is null

I have not tried the quick start app but I tried using the diagnostic tool and it showed

---- Firebase Dynamic Links diagnostic output start ----
Firebase Dynamic Links framework version 7.5.0
System information: OS iOS, OS version 12.5.1, model iPhone
Current date 2021-03-13 07:13:26 +0000
Device locale en-US (raw en_US), timezone Asia/Bangkok
Specified custom URL scheme is com.spacears.space.ios and Info.plist contains such scheme in CFBundleURLTypes key.
AppID Prefix: LM75BQWF97, Team ID: LM75BQWF97, AppId Prefix equal to Team ID: YES
performDiagnostic completed successfully! No errors found.
---- Firebase Dynamic Links diagnostic output end ----

the code I used to recieve dynamic link is
string[] query = dynamicLinkEventArgs.ReceivedDynamicLink.Url.OriginalString.Split("?"[0])[1].Split("&"[0]);
this worked fine in Android.

Additional info
-I used the provided domain of page.link
-I have already added keychain sharing and associate domain in capabilities tab
-I also added the https://mydomain.page.link to info.plist(I'm not sure if this is what's caused the problem)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions