Firebase邀请setDeepLink()方法不起作用

时间:2019-01-23 02:16:39

标签: android firebase deep-linking firebase-dynamic-links firebase-invites

我不确定自己在做什么错,但这是我的代码。

private void onInviteClicked() {
    Intent intent = new AppInviteInvitation.IntentBuilder("Invitation")
            .setMessage("You have been Invited")
            .setDeepLink(Uri.parse("https://karta4.page.link/d38h")); //I want the users to get this
            .build();
    startActivityForResult(intent, REQUEST_INVITE);
}

我希望收件人获得该链接,但用户却收到了这样的链接(“” https://karta4.page.link/i/(random 4个字母)“”)

0 个答案:

没有答案