Dynamic link returning empty JSON string from Firebase

冷暖自知 提交于 2021-02-11 14:41:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!