You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refresh subscription plan features on app fresh launch (#6460)
Task/Issue URL:
https://app.asana.com/1/137249556945/project/72649045549333/task/1210887464493316?focus=true
### Description
Refreshes subscriptions plans included feature on fresh launch.
### Steps to test this PR
_Feature 1_
- [x] change debug package so it doesn't include `.debug` (to make
subscriptions work)
- [x] install the branch
- [x] Check in the logs "Subscription features for base plan $basePlanId
fetched: $features"
- [x] Kill the app and start it again
- [x] You should see in the logs again "Subscription features for base
plan $basePlanId fetched: $features", which indicates we have fetched
again the list of features for a planId
### UI changes
| Before | After |
| ------ | ----- |
!(Upload before screenshot)|(Upload after screenshot)|
Copy file name to clipboardExpand all lines: subscriptions/subscriptions-impl/src/main/java/com/duckduckgo/subscriptions/impl/SubscriptionFeaturesFetcher.kt
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,16 @@ class SubscriptionFeaturesFetcher @Inject constructor(
Copy file name to clipboardExpand all lines: subscriptions/subscriptions-impl/src/test/java/com/duckduckgo/subscriptions/impl/SubscriptionFeaturesFetcherTest.kt
0 commit comments