[invites] Tweaks

This commit is contained in:
Chris Bianca 2018-03-23 11:38:59 +00:00
parent 72a1d1d439
commit e430a4f132
2 changed files with 5 additions and 1 deletions

View File

@ -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
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) {

View File

@ -24,6 +24,10 @@ export default class Invitation {
this._title = title;
}
get android(): AndroidInvitation {
return this._android;
}
/**
*
* @param androidClientId