Unable to query parameters stored in a Firebase dynamic/deep-link

后端 未结 2 1106
有刺的猬
有刺的猬 2021-01-14 04:55

I\'m creating a Firebase dynamic/deep link manually like this:

Uri BASE_URI = Uri.parse(\"http://example.com/\");
String packageName = getBaseContext().getPa         


        
2条回答
  •  無奈伤痛
    2021-01-14 05:27

    If you want to extract a text from the link text, use regex or get at specific indexof text. This is how you can get the data from invitation: Reference

    Intent intent = result.getInvitationIntent();
    String deepLink = AppInviteReferral.getDeepLink(intent);
    String invitationId = AppInviteReferral.getInvitationId(intent);
    

    and it s better to paste whole error message.

提交回复
热议问题