-
Notifications
You must be signed in to change notification settings - Fork 937
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
Add access revoked dialog #4025
Add access revoked dialog #4025
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
b9f69b1
to
afbf704
Compare
ecfae07
to
8e7c2ff
Compare
|
||
import com.duckduckgo.navigation.api.GlobalActivityStarter.ActivityParams | ||
|
||
sealed class SubscriptionScreens { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@marcosholgado let me know if you have any comments on this as well since included changes into some subscription stuff
afbf704
to
3247153
Compare
browser-api/src/main/java/com/duckduckgo/browser/api/ActivityLifecycleCallbacks.kt
Outdated
Show resolved
Hide resolved
return state.asStateFlow() | ||
} | ||
|
||
override suspend fun authorize() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we discussed this, we should return NetpAuthorizationStatus
in this method for it not to entirely be a side effect
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will not fix - will address in https://app.asana.com/0/0/1206170013724653/f
private fun attemptToAuthorize() { | ||
viewModelScope.launch { | ||
netpSubscriptionManager.authorize() | ||
netpAuthManager.authorize() | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this method at all? we can just call that as part of getState()
flow in onStart() {}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will not fix - will address in https://app.asana.com/0/0/1206170013724653/f
...n/java/com/duckduckgo/networkprotection/subscription/ui/NetpVpnAccessRevokedDialogMonitor.kt
Show resolved
Hide resolved
...n/java/com/duckduckgo/networkprotection/subscription/ui/NetpVpnAccessRevokedDialogMonitor.kt
Show resolved
Hide resolved
...ions-impl/src/main/java/com/duckduckgo/subscriptions/impl/ui/SubscriptionsWebViewActivity.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
had left some comments but forgot to approve to unblock if all agreed
8e7c2ff
to
3cf7c3f
Compare
<!-- Note: This checklist is a reminder of our shared engineering expectations. The items in Bold are required If your PR involves UI changes: 1. Upload screenshots or screencasts that illustrate the changes before / after 2. Add them under the UI changes section (feel free to add more columns if needed) If your PR does not involve UI changes, you can remove the **UI changes** section At a minimum, make sure your changes are tested in API 23 and one of the more recent API levels available. --> Task/Issue URL: https://app.asana.com/0/0/1206140936022690/f ### Description See attached task description ### Steps to test this PR https://app.asana.com/0/0/1206193043882713/f
Task/Issue URL: https://app.asana.com/0/0/1206140936022690/f
Description
See attached task description
Steps to test this PR
https://app.asana.com/0/0/1206193043882713/f