Skip to content

Commit

Permalink
Merge pull request #1072 from arnabkund/master
Browse files Browse the repository at this point in the history
[Android] Fix a bug with Android Invites invitationMap email keys
  • Loading branch information
chrisbianca authored May 11, 2018
2 parents f3806da + 175c579 commit 13dd662
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,13 @@ public void sendInvitation(ReadableMap invitationMap, Promise promise) {
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"));
}
}

Expand Down

0 comments on commit 13dd662

Please sign in to comment.