Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2019.3.15f1
- Firebase Unity SDK version: 6.15.2
- Source you installed the SDK: .unitypackage
- Problematic Firebase Component: Dynamic Links
- Other Firebase Components in use: Auth, Analytics, Crashlytics, Database, Dynamic Links, Storage
- Additional SDKs you are using: None
- Platform you are using the Unity editor on: Windows 10
- Platform you are targeting: iOS
- Scripting Runtime: IL2CPP
[REQUIRED] Please describe the question here:
Hi, I use Unity Cloud to build my app for iOS.
I've tried implementing Dynamic Links for iOS & Android. Android works 100% fine.
However, with the iOS app, the dynamic link always open the App Store page.
I am not using a custom domain, so my link is in this format: https://example.page.link/
I've looked up potential issues and realised it may be because I have not configured the iOS project capabilities to send invites and receive links using xCode on a Mac.
I have enabled Associated Domains capability on my app provisioning profiles within my Apple developer account.
However, I have not followed this last step from the quickstart-unity guide for Dynamic Links:
Configure the iOS project capabilities to send invites and receive links.
- Enable the Keychain Sharing capability on iOS 10 or above (required by Google Sign-In to send invites). You can enable this capability on your project in Xcode 8 by going to your project's settings, Capabilities, and turning on Keychain Sharing.
- Copy the domain URI prefix for your project under the Dynamic Links tab of the Firebase console Then, in your project's Capabilities tab:
- Enable the Associated Domains capability.
- Add applinks:YOUR_DYNAMIC_LINKS_DOMAIN For example "applinks:xyz.app.goo.gl".
To check whether I have my Firebase project properly configured, I go to this site:
https://example.page.link/apple-app-site-association (replacing example with my actual link of course)
It shows something like:
{"applinks":{"apps":[],"details":[{"appID":"123456.com.example.ios","paths":["NOT /_/","/"]}]}}
I'm not sure if this means it is correctly configured, even though I skipped adding an applink using xCode (since I use Unity Cloud).
So my question is, can Dynamic Links be set up using Unity Cloud?
Specifically, to add enable the "Associated Domains" capability and add my applinks.
I haven't really touched using advanced configs available in Unity Cloud, but would like to know this answer before I go down that rabbit hole.
Big fan of Firebase, have used other components with no issues, but I'm stamped at getting Dynamic Links to work for iOS built with Unity Cloud.