Closed
Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2021.2.14f1
- Firebase Unity SDK version: 8.8.0
- Source you installed the SDK: .unitypackage
- Problematic Firebase Component: Messaging, Dynamic Links
- Other Firebase Components in use: Analytics, Auth, Storage
- Additional SDKs you are using: Facebook, (Facebook, AdMob, etc.)
- Platform you are using the Unity editor on: Windows, Mac
- Platform you are targeting: iOS
- Scripting Runtime: IL2CPP
[REQUIRED] Please describe the question here:
We are in the process of implementing Dynamic Links and our app is heavily dependent on notifications via Firebase Messaging. We are finding an issue in our set up where depending on the status of the boolean FirebaseAppDelegateProxyEnabled
in the Info.plist file, Firebase Messaging and Dynamic Links are fully functional somewhat mutually exclusive of each other.
If FirebaseAppDelegateProxyEnabled
is set to true/1:
- Notifications can be received as per usual.
- Dynamic Links will not open the app, but instead just open the App Store to our app's store page.
If FirebaseAppDelegateProxyEnabled
is set to false/0:
- Notifications are not received. I believe this is correct functionality, as this page states not to disable method swizzling when using Firebase Unity SDK on iOS, as it causes issues with FCM token handling.
- Dynamic Links open the app and trigger functionality as expected. We initially tested this out due to finding this StackOverflow question, which made the change in a post-build process.
Other things we have done:
- Added
FirebaseDynamicLinksCustomDomains
array to our Info.plist, with our URL as an element of this array. - Added Associated Domains capability in Xcode, with "applinks:" as an element (Dynamic Links were working before this change, as long as
FirebaseAppDelegateProxyEnabled
was set to false). - Checked the apple-app-site-association page, which correctly lists our Team ID and Bundle ID.
It is likely that we have done something incorrectly in our set up, but we are just wondering what it could be. Hope someone will have some idea of where we've gone wrong! Thank you in advance. (: