We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are two options for making calls to the discussion API, which must be authenticated:
Option 1 is more similar to other authenticated requests in the Apps Option 2 is closer to how the web currently handles things
Existing stub in iOS: https://github.com/guardian/ios-live/blob/7c7762c139560c2b3ba0e7f56233c51dfa3de22d/GLA/GLA/Classes/ARArticleViewController%2BBridget.swift#L197-L207
Existing sub in Android: https://github.com/guardian/android-news-app/blob/352429b2735371051d4d7a00c6ddc73320b6f37f/android-news-app/src/main/java/com/guardian/feature/renderedarticle/bridget/DiscussionImpl.kt#L10-L35
We will probably want to implement useReducer with a different reducer implementation for each platform.
useReducer
The text was updated successfully, but these errors were encountered:
I have discussed this with the iOS team, we have a slight leaning towards option 2, however, this may cause complications when it comes to tracking
Sorry, something went wrong.
WebEx leaning towards option one - one to discuss with the Apps team and commit to an approach
We're going with option 1: ask the native app to make the calls via Bridget.
No branches or pull requests
There are two options for making calls to the discussion API, which must be authenticated:
Option 1 is more similar to other authenticated requests in the Apps
Option 2 is closer to how the web currently handles things
Existing stub in iOS: https://github.com/guardian/ios-live/blob/7c7762c139560c2b3ba0e7f56233c51dfa3de22d/GLA/GLA/Classes/ARArticleViewController%2BBridget.swift#L197-L207
Existing sub in Android: https://github.com/guardian/android-news-app/blob/352429b2735371051d4d7a00c6ddc73320b6f37f/android-news-app/src/main/java/com/guardian/feature/renderedarticle/bridget/DiscussionImpl.kt#L10-L35
We will probably want to implement
useReducer
with a different reducer implementation for each platform.The text was updated successfully, but these errors were encountered: