[Android] Fix a bug with Android Invites invitationMap email keys

This commit is contained in:
arnabkund 2018-05-11 15:03:01 +05:30
parent f3806da600
commit 175c579da3
1 changed files with 3 additions and 3 deletions

View File

@ -140,13 +140,13 @@ public class RNFirebaseInvites extends ReactContextBaseJavaModule implements Act
ib = ib.setAdditionalReferralParameters(arpMap);
}
if (androidMap.hasKey("emailHtmlContent")) {
ib = ib.setEmailHtmlContent(invitationMap.getString("emailHtmlContent"));
ib = ib.setEmailHtmlContent(androidMap.getString("emailHtmlContent"));
}
if (androidMap.hasKey("emailSubject")) {
ib = ib.setEmailSubject(invitationMap.getString("emailSubject"));
ib = ib.setEmailSubject(androidMap.getString("emailSubject"));
}
if (androidMap.hasKey("googleAnalyticsTrackingId")) {
ib = ib.setGoogleAnalyticsTrackingId(invitationMap.getString("googleAnalyticsTrackingId"));
ib = ib.setGoogleAnalyticsTrackingId(androidMap.getString("googleAnalyticsTrackingId"));
}
}