Why full/long dynamic link is not getting retrieved/received?

后端 未结 3 598
再見小時候
再見小時候 2020-12-07 04:40

I\'m creating a deep/dynamic link following this github project.

Here\'s the link which is getting created: https://appcode.app.goo.gl/?link=http://example.co

3条回答
  •  被撕碎了的回忆
    2020-12-07 04:56

    I also faced this problem. The issue was the link which I'm receiving is "Long link". We can create two types of links from firebase:

    1. Short Link https://appcode.app.goo.gl/?email=abc@gmail.com
    2. Long Link https://appcode.app.goo.gl/?link=http://example.com/-example&apn=com.abc.xxx&amv=16&ad=0&extraParameter=null

    So that's why I'm facing this issue. I solved it by fetching the whole link from

     Uri uriData = intent.data
    

    And to fetch particular query param from the link:

      String email = uriData.getQueryParameter("email")
    

    I hope it will help anyone!!

提交回复
热议问题