-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/fe 2044 plans #823
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Coverage Report (Type: Instructions)
|
e935f21 to
3f5aa8b
Compare
* Implement the new card in the Profile screen for the subscription * Forecast in tab in station details + in forecast details (#807) * WIP of forecast tab's state & prompt. Billing library missing to check state. * Integrate the billing library, create functionality for initializing it and fetching if we have an active sub or not and update the UI respectively * Handle UI in Forecast Details if premium is available or not
248c2a4 to
49305e2
Compare
pantelisss
requested changes
Nov 27, 2025
Collaborator
pantelisss
left a comment
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.
pantelisss
approved these changes
Nov 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Why?
The billing flow functionality + manage subscription of the upsell feature.
How?
BillingServiceadded the functionality of getting the available products, starting the billing flow and purchasing a product. In Android, purchasing a product needs a verification of the signature and an acknowledge request back to Google, which is what we do here. Whenever we get an active subscription we check if it's acknowledged properly or not and otherwise we handle it (e.g. a connection issue could take place when acknowledging a purchase initially and we need to properly acknowledge the next time we have it). Also created the functionality to update the UI in the whole process of it via aFlowanddata class PurchaseUpdateState.ManageSubscriptionActivityand its respective layout, along with some composable components such asPremiumFeaturesViewwhich is the card that advertises the premium andCurrentPlanViewwhich is the card showing the current active plan (standard or premium).Testing
As discussed internally you need to download the app to proper make some test purchases etc. Otherwise if you need to build it from Android Studio to test the rest of the functionality, please DM me so I can send you the secret you need in the
production.envfile.Additional Info