Description
[REQUIRED] Please fill in the following fields:
- Unity editor version: 2019.4.16
- Firebase Unity SDK version: 8.8.0
- Source you installed the SDK: .unitypackage
- Problematic Firebase Component: DynamicLinks
- Other Firebase Components in use: Auth, FCM, Firestore, Analytics, Crashlytics, Storage
- Additional SDKs you are using: Nothing external to Unity's
- Platform you are using the Unity editor on: Mac
- Platform you are targeting: iOS
- Scripting Runtime: IL2CPP
[REQUIRED] Please describe the issue here:
I have a dynamic link that points to TestFlight build (though it will point to the AppStore when we launch).
When the dynamic link is visited the first time, and the app is first installed through TestFlight, the msg:
"[appname] pasted from Chrome"
and most importantly, the DynamicLinks.DynamicLinkReceived
delegate fires.
If I quit my app, return to Chrome, reload the same link, the app launches, but on this 2nd or any subsequent times,DynamicLinkReceived
does not fire and the "pasted from Chrome" msg also doesn't come up.
Same behavior in Safari.
I assume it does work on subsequent loads through the App Store.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
Didn't try since it requires pushing to my TestFlight
What's the issue repro rate? (eg 100%, 1/5 etc)
100%
What happened? How can we make the problem occur?
- Push a build to Testflight
- Add TestFlight public link as destination of new dynamic URL (added manually via console)
- Follow link in browser
- Install app
- Launch app
- Quit
- Go back to browser and follow same link
- "OPEN" Testflight build again
- No event fired
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
Honestly there isn't any code beyond what is in the examples:
void Start()
{
DynamicLinks.DynamicLinkReceived += OnDynamicLink;
}
void OnDynamicLink(object sender, EventArgs args)
{
var dynamicLinkEventArgs = args as ReceivedDynamicLinkEventArgs;
string[] ar = dynamicLinkEventArgs.ReceivedDynamicLink.Url.Segments;
// do more things
}