[invites] Tweaks
This commit is contained in:
parent
72a1d1d439
commit
e430a4f132
|
@ -175,7 +175,7 @@ public class RNFirebaseLinks extends ReactContextBaseJavaModule implements Activ
|
||||||
|
|
||||||
// Looks at the internals of the link data to detect whether it's an invitation or not
|
// Looks at the internals of the link data to detect whether it's an invitation or not
|
||||||
private boolean isInvitation(PendingDynamicLinkData pendingDynamicLinkData) {
|
private boolean isInvitation(PendingDynamicLinkData pendingDynamicLinkData) {
|
||||||
return pendingDynamicLinkData.zzcbj().getString("com.google.firebase.appinvite.fdl.extension.InvitationId") != null;
|
return FirebaseAppInvite.getInvitation(pendingDynamicLinkData) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private DynamicLink.Builder getDynamicLinkBuilderFromMap(final Map<String, Object> metaData) {
|
private DynamicLink.Builder getDynamicLinkBuilderFromMap(final Map<String, Object> metaData) {
|
||||||
|
|
|
@ -24,6 +24,10 @@ export default class Invitation {
|
||||||
this._title = title;
|
this._title = title;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get android(): AndroidInvitation {
|
||||||
|
return this._android;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param androidClientId
|
* @param androidClientId
|
||||||
|
|
Loading…
Reference in New Issue