@@ -32,8 +32,8 @@ public void initializeWithApiKey(String apiKey, ReadableMap configReadableMap, S
3232 }
3333
3434 @ Override
35- public void initialize2WithApiKey (String apiKey , ReadableMap configReadableMap , String apiEndPointOverride , String version , Promise promise ) {
36- moduleImpl .initialize2WithApiKey (apiKey , configReadableMap , apiEndPointOverride , version , promise );
35+ public void initialize2WithApiKey (String apiKey , ReadableMap configReadableMap , String version , String apiEndPointOverride , Promise promise ) {
36+ moduleImpl .initialize2WithApiKey (apiKey , configReadableMap , version , apiEndPointOverride , promise );
3737 }
3838
3939 @ Override
@@ -71,7 +71,7 @@ public void getUserId(Promise promise) {
7171 }
7272
7373 @ Override
74- public void trackEvent (String name , ReadableMap dataFields ) {
74+ public void trackEvent (String name , @ Nullable ReadableMap dataFields ) {
7575 moduleImpl .trackEvent (name , dataFields );
7676 }
7777
@@ -81,17 +81,17 @@ public void updateCart(ReadableArray items) {
8181 }
8282
8383 @ Override
84- public void trackPurchase (double total , ReadableArray items , ReadableMap dataFields ) {
84+ public void trackPurchase (double total , ReadableArray items , @ Nullable ReadableMap dataFields ) {
8585 moduleImpl .trackPurchase (total , items , dataFields );
8686 }
8787
8888 @ Override
89- public void trackPushOpenWithCampaignId (double campaignId , Double templateId , String messageId , boolean appAlreadyRunning , ReadableMap dataFields ) {
89+ public void trackPushOpenWithCampaignId (double campaignId , @ Nullable Double templateId , String messageId , boolean appAlreadyRunning , @ Nullable ReadableMap dataFields ) {
9090 moduleImpl .trackPushOpenWithCampaignId (campaignId , templateId , messageId , appAlreadyRunning , dataFields );
9191 }
9292
9393 @ Override
94- public void updateSubscriptions (ReadableArray emailListIds , ReadableArray unsubscribedChannelIds , ReadableArray unsubscribedMessageTypeIds , ReadableArray subscribedMessageTypeIds , double campaignId , double templateId ) {
94+ public void updateSubscriptions (@ Nullable ReadableArray emailListIds , @ Nullable ReadableArray unsubscribedChannelIds , @ Nullable ReadableArray unsubscribedMessageTypeIds , @ Nullable ReadableArray subscribedMessageTypeIds , double campaignId , double templateId ) {
9595 moduleImpl .updateSubscriptions (emailListIds , unsubscribedChannelIds , unsubscribedMessageTypeIds , subscribedMessageTypeIds , campaignId , templateId );
9696 }
9797
@@ -121,7 +121,7 @@ public void getAttributionInfo(Promise promise) {
121121 }
122122
123123 @ Override
124- public void setAttributionInfo (ReadableMap attributionInfoReadableMap ) {
124+ public void setAttributionInfo (@ Nullable ReadableMap attributionInfoReadableMap ) {
125125 moduleImpl .setAttributionInfo (attributionInfoReadableMap );
126126 }
127127
@@ -185,7 +185,6 @@ public void setAutoDisplayPaused(final boolean paused) {
185185 moduleImpl .setAutoDisplayPaused (paused );
186186 }
187187
188- @ Override
189188 public void wakeApp () {
190189 moduleImpl .wakeApp ();
191190 }
@@ -200,7 +199,6 @@ public void endSession() {
200199 moduleImpl .endSession ();
201200 }
202201
203- @ Override
204202 public void updateVisibleRows (ReadableArray visibleRows ) {
205203 moduleImpl .updateVisibleRows (visibleRows );
206204 }
@@ -215,8 +213,7 @@ public void removeListeners(double count) {
215213 moduleImpl .removeListeners (count );
216214 }
217215
218- @ Override
219- public void passAlongAuthToken (String authToken ) {
216+ public void passAlongAuthToken (@ Nullable String authToken ) {
220217 moduleImpl .passAlongAuthToken (authToken );
221218 }
222219
0 commit comments