Repository navigation
feat(msdk-4325): add tcf 2.4 features standard text to TCFData - #216
Open
asadraza-usercentrics wants to merge 1 commit into
Open
asadraza-usercentrics wants to merge 1 commit into
asadraza-usercentrics wants to merge 1 commit into
Conversation
Adds featuresStandardText to the Dart model and both native (Android/iOS) serializers, matching the field added to the core SDK.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Summary
IAB TCF v2.4 / IAB Policies v5.0.b introduces a new mandatory standard
text for the "Features" category, sourced from the GVL's new
standardTexts.featuresfield. The native mobile-sdk core alreadyexposes this as
featuresStandardTextonTCFData(see the companionmobile-sdk PR) and renders it in the SDK's own prebuilt UI — this PR
adds the same field to the Flutter plugin's
TCFDatamodel so appscalling
getTCFData()directly see it too.Changes
lib/src/model/tcf_data.dart: addfeaturesStandardText(nullableString) to theTCFDataclasslib/src/internal/serializer/tcf_data_serializer.dart: deserialize the new field from the native method-channel payloadandroid/.../TCFDataSerializer.kt+ios/.../TCFDataSerializer.swift: native→Dart bridge serializers updated to include the fieldandroid/.../GetTCFDataMock.kt+test/.../get_tcf_data_bridge_test.mock.dart: test fixtures updated to cover the new fieldTesting
flutter test— all 67 tests passing, including the updatedgetTCFDatabridge testfeaturesStandardTextis populated from a live GVL response and renders correctly in the second-layer Features sectionNotes for reviewers