Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAPI Item dcrUri only returns if article supported in PROD #12820

Open
shesah opened this issue Nov 12, 2024 · 0 comments
Open

MAPI Item dcrUri only returns if article supported in PROD #12820

shesah opened this issue Nov 12, 2024 · 0 comments
Assignees

Comments

@shesah
Copy link

shesah commented Nov 12, 2024

The apps call item endpoint when trying to deep link into an article. If this endpoint has dcrUri the apps render the article using dcr, other wise they go to old templates.

For example looking at this https://mobile.guardianapis.com/uk/items/society/2024/nov/11/assisted-dying-bills-strict-safeguards-to-include-long-jail-terms-for-coercion you can see the links object field has dcrUri.

We noticed that Mapi is only returning dcrUri if the article is supported in PROD. Because of this, hence currently deeplinking to a live blog doesn't use dcr in the beta app. https://mobile.guardianapis.com/uk/items/politics/live/2024/nov/12/keir-starmer-labour-kim-leadbeater-assisted-dying-bill-uk-politics-news-updates

To fix this, we would need to add 2 fields to the links object: betaDcrUri & prodDcrUri

After this changed is released, we can ask the ios/android to start making use of these fields.

@shesah shesah converted this from a draft issue Nov 12, 2024
@marjisound marjisound self-assigned this Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

2 participants