Skip to content

Commit

Permalink
[MOB-10364] Update according to new discussiom
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeruchat committed Jan 7, 2025
1 parent 9a64ac8 commit 6044ecb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,9 @@ static IterableInAppMessage fromJSONObject(@NonNull JSONObject messageJson, @Nul
if (contentJson == null) {
return null;
}
if (customPayload == null) {
customPayload = contentJson.optJSONObject(IterableConstants.ITERABLE_IN_APP_LEGACY_PAYLOAD);
}

String html = contentJson.optString(IterableConstants.ITERABLE_IN_APP_HTML, null);
JSONObject inAppDisplaySettingsJson = contentJson.optJSONObject(IterableConstants.ITERABLE_IN_APP_DISPLAY_SETTINGS);
Expand Down

0 comments on commit 6044ecb

Please sign in to comment.