blaugold / iabtcf_consent_info

Flutter plugin for reading IAB TCF v2.0 user consent information, such as made available through CMP SDKs, like Funding Choices's User Messaging Platform (UMP).
https://pub.dev/packages/iabtcf_consent_info
10 stars 8 forks source link

feat: Add Purpose 11: Use limited data to select content #12

Closed bcyran closed 9 months ago

bcyran commented 10 months ago

I encountered this purpose for the first time while testing on iOS and here it is on the IAB website. Not sure if it was added recently or something.

I didn't link the specific purpose in the comment as there are no semantic anchors on this page (anchor link to previous purposes are not working as well but this is OOS).

PasqualePuzio commented 10 months ago

We've encountered the same issue. It looks like it is also generating a crash (see the stracktrace below), therefore this pull request should be merged.

Fatal Exception: FlutterError RangeError (length): Invalid value: Not in inclusive range 0..9: 10 Fatal Exception: FlutterError 0 ??? 0x0 _parseDataUsagePurposeBinaryString. (iabtcf_consent_info.dart) 1 ??? 0x0 SetBase.toList (dart:collection) 2 ??? 0x0 (null)._parseDataUsagePurposeBinaryString + 291 (iabtcf_consent_info.dart:291) 3 ??? 0x0 WidgetSpan.visitChildren + 158 (widget_span.dart:158) 4 ??? 0x0 parseRawConsentInfo.parseDataUsagePurposes + 255 (iabtcf_consent_info.dart:255) 5 ??? 0x0 (null).parseRawConsentInfo + 263 (iabtcf_consent_info.dart:263)

etmyhome commented 9 months ago

any update ?