Title: Does this support TCF v2.2? · Issue #43 · IABTechLab/iabgpp-java · GitHub
Open Graph Title: Does this support TCF v2.2? · Issue #43 · IABTechLab/iabgpp-java
X Title: Does this support TCF v2.2? · Issue #43 · IABTechLab/iabgpp-java
Description: Does this support TCF v2.2 as every TCF String i try comes back with "Undecodable Base64URL string" Im generating strings to test from here https://iabgpp.com/# using the default TCF string (CP3MC8AP3MC8APoABABGAfEAAAAAAAAAAAAAAAAAAAAA.Q...
Open Graph Description: Does this support TCF v2.2 as every TCF String i try comes back with "Undecodable Base64URL string" Im generating strings to test from here https://iabgpp.com/# using the default TCF string (CP3MC8...
X Description: Does this support TCF v2.2 as every TCF String i try comes back with "Undecodable Base64URL string" Im generating strings to test from here https://iabgpp.com/# using the default TCF stri...
Opengraph URL: https://github.com/IABTechLab/iabgpp-java/issues/43
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does this support TCF v2.2?","articleBody":"Does this support TCF v2.2 as every TCF String i try comes back with \"Undecodable Base64URL string\" \r\nIm generating strings to test from here https://iabgpp.com/# using the default TCF string (CP3MC8AP3MC8APoABABGAfEAAAAAAAAAAAAAAAAAAAAA.QAAA.IAAA) which decodes fine on the website but not using the library. If i use a GPP string it works fine.\r\n\r\nmy test code is basically a copy of the example on the main page\r\n```\r\npackage com.mycompany.app;\r\n\r\nimport com.iab.gpp.encoder.GppModel;\r\nimport com.iab.gpp.encoder.section.TcfEuV2;\r\nimport com.iab.gpp.encoder.section.UspV1;\r\nimport java.time.ZoneId;\r\nimport java.time.ZonedDateTime;\r\nimport java.util.ArrayList;\r\nimport java.util.Arrays;\r\nimport com.iab.gpp.encoder.error.DecodingException;\r\nimport com.iab.gpp.encoder.error.EncodingException;\r\nimport com.iab.gpp.encoder.error.InvalidFieldException;\r\nimport com.iab.gpp.encoder.error.LazyDecodingException;\r\n\r\npublic class App \r\n{\r\n\tpublic static void main(String[] args )\r\n {\r\n\t\tString gppString = \"CP3MC8AP3MC8APoABAENDgCAAAAAAAAAAIwIAAAAAAAA.QAAA.IAAA\";\r\n\r\n\t\tGppModel gppModelDecoded = new GppModel(); \r\n\r\n\t\ttry {\r\n\t\t gppModelDecoded = new GppModel(gppString); \r\n\t\t} catch (Throwable e) {\r\n\t\t e.printStackTrace();\r\n\t\t}\r\n\r\n\t\tTcfEuV2 tcfEuV2Section = (TcfEuV2)gppModelDecoded.getSection(TcfEuV2.NAME);\r\n\t\tInteger tcfEuV2Version = tcfEuV2Section.getVersion();\r\n\t\tString tcfEuV2ConsentLanguage = tcfEuV2Section.getConsentLanguage();\r\n\t\t\r\n System.out.println( tcfEuV2ConsentLanguage );\r\n } \r\n}\r\n```\r\nand my pom.xml has \r\n```\r\n \t\u003cdependency>\r\n\t\t\u003cgroupId>com.iabgpp\u003c/groupId>\r\n\t\t\u003cartifactId>iabgpp-encoder\u003c/artifactId>\r\n\t\t\u003cversion>3.1.1\u003c/version>\r\n\t\u003c/dependency>\r\n```\r\nIs it me doing something wrong or a bug?","author":{"url":"https://github.com/un-smurf","@type":"Person","name":"un-smurf"},"datePublished":"2023-12-22T12:58:28Z","url":"https://github.com/IABTechLab/iabgpp-java/issues/43"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:dc6fbbbb-d305-0a11-7e00-9c3260302418 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C786:1A013A:197736:21F3A5:6AF64DC1 |
| html-safe-nonce | 25a12851645dbf3cbfdde2005c631a1d78a0eeef23d04a9964de4f742bea33e8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzg2OjFBMDEzQToxOTc3MzY6MjFGM0E1OjZBRjY0REMxIiwidmlzaXRvcl9pZCI6IjM1MDIwNTYzMzQyNTk4MDE1MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 88859a328dae6faba9dabb1f1006a3b263253c23760013849c78ab16148f1cf6 |
| hovercard-subject-tag | issue:2053888456 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IABTechLab/iabgpp-java/43/issue_layout |
| twitter:image | https://opengraph.githubassets.com/641657e7a99f01c5203dc03a4625b983fa19f80b601471fcd6d06c4edaa8da22/IABTechLab/iabgpp-java/issues/43 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/641657e7a99f01c5203dc03a4625b983fa19f80b601471fcd6d06c4edaa8da22/IABTechLab/iabgpp-java/issues/43 |
| og:image:alt | Does this support TCF v2.2 as every TCF String i try comes back with "Undecodable Base64URL string" Im generating strings to test from here https://iabgpp.com/# using the default TCF string (CP3MC8... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | un-smurf |
| hostname | github.com |
| expected-hostname | github.com |
| None | f08f841c97bca81898b33b24705801fbf36c27aa3a76d422631761ce578f7b63 |
| turbo-cache-control | no-preview |
| go-import | github.com/IABTechLab/iabgpp-java git https://github.com/IABTechLab/iabgpp-java.git |
| octolytics-dimension-user_id | 82903538 |
| octolytics-dimension-user_login | IABTechLab |
| octolytics-dimension-repository_id | 538620496 |
| octolytics-dimension-repository_nwo | IABTechLab/iabgpp-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 538620496 |
| octolytics-dimension-repository_network_root_nwo | IABTechLab/iabgpp-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b946aa396e8129468b84468b6046f18d957f446c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width