From 175c579da3db3289d0c0c3f441fceb49b1aeda92 Mon Sep 17 00:00:00 2001 From: arnabkund Date: Fri, 11 May 2018 15:03:01 +0530 Subject: [PATCH] [Android] Fix a bug with Android Invites invitationMap email keys --- .../io/invertase/firebase/invites/RNFirebaseInvites.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/android/src/main/java/io/invertase/firebase/invites/RNFirebaseInvites.java b/android/src/main/java/io/invertase/firebase/invites/RNFirebaseInvites.java index 1504194c..1f9b0c83 100644 --- a/android/src/main/java/io/invertase/firebase/invites/RNFirebaseInvites.java +++ b/android/src/main/java/io/invertase/firebase/invites/RNFirebaseInvites.java @@ -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")); } }