Stay organized with collections Save and categorize content based on your preferences.
To receive the Firebase Dynamic Links that you created, you must include the Dynamic Links SDK in your app and register a listener to handle the DynamicLinkReceived event.
The Unity SDK works for both Android and iOS, with some additional setup required for each platform.
Register your Unity project and configure it to use Firebase.
If your Unity project already uses Firebase, then it's already registered and configured for Firebase.
If you don't have a Unity project, you can download a sample app.
Add the FirebaseUnity SDK (specifically, FirebaseDynamicLinks.unitypackage) to your Unity project.
Note that adding Firebase to your Unity project involves tasks both in the Firebase console and in your open Unity project (for example, you download Firebase config files from the console, then move them into your Unity project).
Register to receive incoming Dynamic Links
To check for Dynamic Links, you need to register for the DynamicLinkReceived event.
voidStart(){DynamicLinks.DynamicLinkReceived+=OnDynamicLink;}// Display the dynamic link received by the application.voidOnDynamicLink(objectsender,EventArgsargs){vardynamicLinkEventArgs=argsasReceivedDynamicLinkEventArgs;Debug.LogFormat("Received dynamic link {0}",dynamicLinkEventArgs.ReceivedDynamicLink.Url.OriginalString);}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[],[],null,["\u003cbr /\u003e\n\n| **Deprecated:** Firebase Dynamic Links is *deprecated* and should not be adopted in projects that don't already use it. The service will shut down on August 25, 2025. See the [Dynamic Links Deprecation FAQ](/support/dynamic-links-faq) for more information.\n\nTo receive the Firebase Dynamic Links that [you created](/docs/dynamic-links/create-links),\nyou must include the Dynamic Links SDK in your app and register a listener to handle the\n[`DynamicLinkReceived`](/docs/reference/unity/class/firebase/dynamic-links/dynamic-links#dynamiclinkreceived)\nevent.\n\nThe Unity SDK works for both Android and iOS, with some additional setup required\nfor each platform.\n\nBefore you begin\n\nBefore you can use\n[Firebase Dynamic Links](/docs/reference/unity/namespace/firebase/dynamic-links),\nyou need to:\n\n- Register your Unity project and configure it to use Firebase.\n\n - If your Unity project already uses Firebase, then it's already\n registered and configured for Firebase.\n\n - If you don't have a Unity project, you can download a\n [sample app](//github.com/google/mechahamster).\n\n- Add the [Firebase Unity SDK](/download/unity) (specifically, `FirebaseDynamicLinks.unitypackage`) to\n your Unity project.\n\n| **Find detailed instructions for these initial\n| setup tasks in\n| [Add Firebase to your Unity project](/docs/unity/setup#prerequisites).**\n\nNote that adding Firebase to your Unity project involves tasks both in the\n[Firebase console](//console.firebase.google.com/) and in your open Unity project\n(for example, you download Firebase config files from the console, then move\nthem into your Unity project).\n\nRegister to receive incoming Dynamic Links\n\nTo check for Dynamic Links, you need to register for the\n[`DynamicLinkReceived`](/docs/reference/unity/class/firebase/dynamic-links/dynamic-links#dynamiclinkreceived)\nevent. \n\n```c#\nvoid Start() {\n DynamicLinks.DynamicLinkReceived += OnDynamicLink;\n}\n\n// Display the dynamic link received by the application.\nvoid OnDynamicLink(object sender, EventArgs args) {\n var dynamicLinkEventArgs = args as ReceivedDynamicLinkEventArgs;\n Debug.LogFormat(\"Received dynamic link {0}\",\n dynamicLinkEventArgs.ReceivedDynamicLink.Url.OriginalString);\n}\n```"]]