Skip to content

Feature/ad and adbreak custom data bridging#866

Open
wvanhaevre wants to merge 9 commits into
developfrom
feature/ad-and-adbreak-customData-bridging
Open

Feature/ad and adbreak custom data bridging#866
wvanhaevre wants to merge 9 commits into
developfrom
feature/ad-and-adbreak-customData-bridging

Conversation

@wvanhaevre

@wvanhaevre wvanhaevre commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

@wvanhaevre
wvanhaevre requested a review from tvanlaerhoven July 8, 2026 12:35
devin-ai-integration[bot]

This comment was marked as resolved.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 0 new potential issues.

Open in Devin Review

devin-ai-integration Bot and others added 2 commits July 8, 2026 13:24
Co-Authored-By: william.vanhaevre <william.vanhaevre@dolby.com>
Co-Authored-By: william.vanhaevre <william.vanhaevre@dolby.com>
}
adPayload.putArray(PROP_AD_WRAPPER_CREATIVE_IDS, wrapperCreativeIdsPayload)
}
val customData = ad.customData

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add coverage for null values inside customData on Android? This path goes through BridgeUtils.fromJSONObjectToBridge, and that converter currently skips JSONObject.NULL object values and skips null array entries entirely. That means a payload like {"foo": null} would lose foo, and [1, null, 2] would be compacted before JS sees it.

If customData is meant to preserve integration-provided JSON shape, I think the converter should call putNull(key) / pushNull() for JSONObject.NULL, with a small Ad or AdBreak regression test to lock that in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants