DCR for Apps - Passing consent between the native layer and webview
1: Work out how to pass native consent to the web-rendered articles (Engineering) We need to a mechanism for sharing consent between the native app and the web layer rendering articles, The email describes how Sourcepoint said we could avoid double-consent-banner, and part of the consent spike should be testing this. For this phase of the sprint, we should simply follow Sourcepoint’s instructions, asking ourselves: does that work as expected to make consent available in the app? If the answer is yes. Great. If the answer is no, then there might be more than 2 sprints of work to resolve it. We probably should ask SP if any other of their users have done this before, reliably.
We should aim for parity with the web's ConsentState data model. This will allow any web code to handle consent regardless of whether that consent came from native or web: https://github.com/guardian/consent-management-platform/blob/main/src/types/index.ts#L29
There are other things in DCR that need consent other than ads (and video). From https://github.com/guardian/consent-management-platform/blob/main/src/vendors.ts: acast, braze, comscore, google-analytics, google-tag-manager, ipsos, lotame, nielsen, ophan (do we check consent for ophan?), remarketing, sentry, twitter are all non-advertising vendors, and not youtube-player
Olli from TNC is doing the work
As discussed earlier this is possible using the app native & web Sourcepoint SDKs. To test that this works, I plan to create a demo app that only displays a web page. This will use our current SP account & details to consent the user then pass that consent to the web page. It might be possible to host the web page locally or it might need to hosted on a domain somewhere. My plan would be for the web page to display the consent data on the page for visual confirmation that it is working as expected.
I will need assistance in building the web page, and potentially figuring out where to host it depending on if local doesn’t work.
Olli and Sue are looking at this to do - and will reach out to us for help
Demo app is built and Sourcepoint is setup for this to work. Tomorrow Akinsola and I will pair on getting the consent into web and configured correctly
not blocked but adding to blocked column for WebX view
Trying to host locally is a bust, looks like this will have to move to a guardian hosted site. Is this possible, safe & achievable? @arelra @JamieB-gu ?
This has been achieved! Will discuss later how to document the process and what's needed from both teams.
Closing this, as we believe it has been done. @JamieB-gu Please re-open if there is anything we have missed related to decommissioning AR.