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

Built Tanga subscription feature #95

Merged
merged 5 commits into from
May 26, 2024

Conversation

rygelouv
Copy link
Owner

@rygelouv rygelouv commented May 24, 2024


🚀 Description

:* Updates to .gitignore file

  • Ignored specific files (keystore.properties, tangakeystore.jks, secrets.properties) thus preventing unintended sharing of sensitive information.
  • Editing of app/build.gradle.kts

    • Implemented a secure way of storing API keys and other sensitive data with the help of keystore.properties and secrets.properties files
    • Updated the app's versionCode from 1 to 3
    • Configured signed release build, ensuring authenticity of the published application
    • Added REVENUECAT_API_KEY to the build configuration, enabling integration with the RevenueCat platform
    • Introduced a new library, libs.revenuecat.purchases, to handle in-app subscription functionalities
  • Amendments in data/user/UserMapper.kt and data/user/UserRepository.kt

    • Removed isPro property and introduced a subscribedAt property for users, allowing to track more accurately when users start their subscription
    • Added new functions to monitor real-time user data and to update user information
  • New and updated files related to Subscription and Pricing

    • A series of updates were made to structure how we handle subscription pricing. These changes inlcude creation of new files like Subscription.kt, PricingPlanContainer.kt, and updates to existing files, focusing on presenting pricing and allowing users to purchase subscriptions.
  • Modification in authentication related files

    • Added support to RevenueCat, a third-party service, to manage the app’s purchasing and subscribing processes easily. RevenueCat integration was done across multiple files involved in authentication and account-related functions.
  • Updating the way we manage sessions

    • Replaced isPro property with subscribedAt and createdAt properties on the User class, allowing a more accurate tracking of user subscription and account creation activities.
  • Visual and text updates

    • Added new icon files, and updated some user facing text to improve user experience.
  • Testing related changes

    • Updated test files to reflect new changes about user subscription handling in the codebase.
  • New components and their previews

    • Added new UI files, AnimatedBorder.kt and LoadingDialog.kt to enhance user interface and preview component PreviewSomeDialogContent in LoadingDialogPreview.kt to showcase the DialogContent component.
  • Addition to gradle dependencies

    • Updated Gradle configuration to include RevenueCat’s library, necessary for in-app subscription functionalities.
  • Introduction of RevenueCat specific classes, dependencies, and operations

    • Added files including RevenueCatController.kt, RevenueCatDomainMapper.kt, RevenueCatModule.kt, which are responsible for setting up and operating with the RevenueCat service.

Issue (if applicable):

🖼 Screenshots/Videos (if applicable)

  • After:
screencapture-1716576036818.mp4

📦 Dependencies

  • Added new dependencies? List:
  • Updated existing?

🧪 Testing

📱 Checklist

  • Tested on all supported devices and OS versions
  • UI/UX conforms to project design guidelines
  • Unit/integration tests added
  • Relevant documentation updated (e.g., README, Wiki, etc.)
  • Checked linter on local.

@rygelouv rygelouv added new feature When adding a new feature Infrastructure When doing a project infrastructure related work ui work When adding or changing some ui labels May 24, 2024
@rygelouv rygelouv self-assigned this May 24, 2024
github-actions[bot]
github-actions bot previously approved these changes May 24, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR automatically approved by auto-approve-action

github-actions[bot]
github-actions bot previously approved these changes May 24, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR automatically approved by auto-approve-action

github-actions[bot]
github-actions bot previously approved these changes May 26, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR automatically approved by auto-approve-action

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR automatically approved by auto-approve-action

Copy link

Quality Gate Passed Quality Gate passed

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@rygelouv rygelouv merged commit 0863e73 into dev May 26, 2024
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Infrastructure When doing a project infrastructure related work new feature When adding a new feature ui work When adding or changing some ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant