firebase / quickstart-unity

Firebase Quickstart Samples for Unity
https://firebase.google.com/games
Apache License 2.0
825 stars 428 forks source link

Dynamic Links again! Sorry #736

Closed MartinGonzalez closed 3 years ago

MartinGonzalez commented 4 years ago

Unity editor version: 2018.4.16 Firebase Unity SDK version: Source you installed the SDK (.unitypackage or Unity Package Manager): UPM Firebase plugins in use (Auth, Database, etc.): Messaging, DynamicLinks, Analytics Additional SDKs you are using (Facebook, AdMob, etc.): Facebook Platform you are using the Unity editor on (Mac, Windows, or Linux): Mac Platform you are targeting (iOS, Android, and/or desktop): iOS/Android Scripting Runtime (Mono, and/or IL2CPP): IL2CPP

I'm really, but really sorry to bring this topic again but I cannot make Dynamic links work in iOS > 13 and things are getting really dark. I've been searching issues, stackoverflow, apple forums everywhere! And I cannot open the app with dynamic links.

Any thoughts?

google-oss-bot commented 4 years ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

MartinGonzalez commented 4 years ago

Is it possible that Firebase need to update AASA (apple-app-site-association) format to the new one?

chkuang-g commented 4 years ago

@MartinGonzalez

Did you follow the instruction here to configure your Xcode project properly? Ex. if your mydomain.bla.bla is a custom domain, you will need to create additional keys in your Info.plist.

Otherwise, could you provide a bit more information? Ex. your Firebase SDK version. Also, are you able to reproduce the same issue with the quickstart project?

MartinGonzalez commented 4 years ago

@chkuang-g Thanks for reply. I'm using Firebase domain that is page.link. I was able to reproduce it in an empty project. Also because I'm a bit mad with issue I test branch.io solution, in the same empty project, following the same steps and it worked (I don't know if they have another strategy) but in terms of configuration was the same.

Something that a firebase support told me, that is not in any documentation was that DynamicLinks does not support multiple applications in the same project but it cannot guarantee the order. I've deleted the extra application, updated to AASA and still is not working. I'm truly lost with this issue, I've tested everything and seems to be out of my knowledge

chkuang-g commented 4 years ago

I see. Sorry for the inconvenience.

I have filed an internal ticket b/162111628 and have Dynamic Link team to take a look of this issue.

MartinGonzalez commented 4 years ago

Something that I'm trying to validate is in this page. https://search.developer.apple.com/appsearch-validation-tool

I have to sites with the apple-app-site-association json file one from firebase and one from branch.io

Firebase: http://turnbased.page.link/apple-app-site-association. None item passes Branch.io: http://turnbased.app.link/apple-app-site-association. 2 item passes

Both look similar but in path array there are some different things.

MartinGonzalez commented 4 years ago

I've a question about the Dynamic link setup in the firebase console image

If we are 100% mobile app, what should be the value of the dynamic link url?

patm1987 commented 4 years ago

HI @MartinGonzalez ,

For the validation, it looks like there's an issue Apple side via this forum post. It looks like it may be similar to this iOS bug.

For the second question - the Deep Link URL should be something that would be meaningful to desktop users. If someone opens your dynamic link on a platform like Windows or MacOS, you should probably display some sort of info about your game, a description of what happened (ex: your friend invited you to play, open the link on your phone!), and perhaps link to your app store pages for each supported platform.

This is also where you can pass custom data to your application. For example, you can put query parameters into the deep link URL and retrieve them when you receive the dynamic link in your app. This would let you, say, attribute a deep link to its sender (whomever is sending the invite).

Let me know if that helps!

google-oss-bot commented 4 years ago

Hey @MartinGonzalez. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 3 years ago

Since there haven't been any recent updates here, I am going to close this issue.

@MartinGonzalez if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.