问题
I'm setting up my Android app to support email authentication and as part of the task I need to create a dynamic link, which I did in the Firebase console. However, when I tested the link (https://chiaramail.page.link/.well-known/assetlinks.json, I just got back empty data ("[]"). Is there something else that needs to happen?
回答1:
I had the same issue. Actually it is because, you need to provide SHA256 instead of SAH1 to implement dynamic link to your project. I tried to add it with my existing project through project settings. But it didn't work for me.
Then I created a new project and in the sdk configuration I skipped SHA1 input and after completing sdk setup, I went to the project setting and added SHA256. then I tried link <your dynamic link>/.well-known/assetlinks.json
.It worked.
Thanks Mate.
来源:https://stackoverflow.com/questions/58027836/dynamic-link-returning-empty-json-string-from-firebase