Skip to content

Commit 986ff25

Browse files
committed
Fix default values in liquid IAMs
String formatting failed when a user has no tags due to trying to format with null instead of empty string.
1 parent 0994a92 commit 986ff25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OneSignalSDK/onesignal/src/main/java/com/onesignal/OSInAppMessageController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class OSInAppMessageController extends OSBackgroundManager implements OSDynamicT
8080
private boolean inAppMessageShowing = false;
8181

8282
@Nullable
83-
private String userTagsString = null;
83+
private String userTagsString = "";
8484

8585
@Nullable
8686
private OSInAppMessageContent pendingMessageContent = null;

0 commit comments

Comments
 (0)