Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 68592fa

Browse files
Invites on Android: AppInviteApi has been deprecated #478
1 parent b9e11aa commit 68592fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

firebase.android.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2106,9 +2106,9 @@ firebase.invites.getInvitation = function () {
21062106
}
21072107
});
21082108

2109-
// TODO I think this is deprecated since 11.0 - check the latest docs: https://firebase.google.com/docs/invites/android
2110-
com.google.android.gms.appinvite.AppInvite.AppInviteApi.getInvitation(firebase._mGoogleApiClient, activity, autoLaunchDeepLink)
2111-
.setResultCallback(getInvitationCallback);
2109+
firebaseDynamicLinks.getDynamicLink(activity.getIntent())
2110+
.addOnSuccessListener(onSuccessListener)
2111+
.addOnFailureListener(onFailureListener);
21122112

21132113

21142114
} catch (ex) {

0 commit comments

Comments
 (0)