Merge pull request #1072 from arnabkund/master

[Android] Fix a bug with Android Invites invitationMap email keys
This commit is contained in:
Chris Bianca 2018-05-11 10:46:57 +01:00 committed by GitHub
commit 13dd662903
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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); ib = ib.setAdditionalReferralParameters(arpMap);
} }
if (androidMap.hasKey("emailHtmlContent")) { if (androidMap.hasKey("emailHtmlContent")) {
ib = ib.setEmailHtmlContent(invitationMap.getString("emailHtmlContent")); ib = ib.setEmailHtmlContent(androidMap.getString("emailHtmlContent"));
} }
if (androidMap.hasKey("emailSubject")) { if (androidMap.hasKey("emailSubject")) {
ib = ib.setEmailSubject(invitationMap.getString("emailSubject")); ib = ib.setEmailSubject(androidMap.getString("emailSubject"));
} }
if (androidMap.hasKey("googleAnalyticsTrackingId")) { if (androidMap.hasKey("googleAnalyticsTrackingId")) {
ib = ib.setGoogleAnalyticsTrackingId(invitationMap.getString("googleAnalyticsTrackingId")); ib = ib.setGoogleAnalyticsTrackingId(androidMap.getString("googleAnalyticsTrackingId"));
} }
} }