Skip to content

Debug view: Support deploying both noop and debug version of debugview package#1192

Merged
tonidero merged 2 commits into
mainfrom
debug-view-package-deployment
Aug 16, 2023
Merged

Debug view: Support deploying both noop and debug version of debugview package#1192
tonidero merged 2 commits into
mainfrom
debug-view-package-deployment

Conversation

@tonidero

@tonidero tonidero commented Aug 7, 2023

Copy link
Copy Markdown
Contributor

Description

This sets up the project to be able to deploy the defaultsRelease variant as purchases-debug-view-noop package and defaultsDebug variant as purchases-debug-view

Hold until #1187 and #1191 are merged.

@tonidero tonidero added the build label Aug 7, 2023
@codecov

codecov Bot commented Aug 7, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.92%. Comparing base (0070c4d) to head (159b020).
Report is 536 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1192   +/-   ##
=======================================
  Coverage   85.92%   85.92%           
=======================================
  Files         181      181           
  Lines        6217     6217           
  Branches      900      900           
=======================================
  Hits         5342     5342           
  Misses        533      533           
  Partials      342      342           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread fastlane/Fastfile Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Users will be using the library like this:

debugImplementation "com.revenuecat.purchase:purchases-debugview:6.10.0"
releaseImplementation "com.revenuecat.purchase:purchases-debugview-noop:6.10.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice. We could document this here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yup, once we deploy the first version, planning to add instructions on how to use this there 👍

@tonidero tonidero marked this pull request as ready for review August 8, 2023 14:58
@tonidero tonidero requested a review from a team August 8, 2023 14:58
@tonidero tonidero force-pushed the debug-view-package-deployment branch from 9a4a629 to 159b020 Compare August 9, 2023 09:02
includeBuild("../../") {
dependencySubstitution {
substitute module("com.revenuecat.purchases:debugview") using project(":debugview")
substitute module("com.revenuecat.purchases:debugview") using project(":ui:debugview")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is to fix magic weather compose after #1191

@tonidero tonidero merged commit d3d72ae into main Aug 16, 2023
@tonidero tonidero deleted the debug-view-package-deployment branch August 16, 2023 06:41
tonidero added a commit that referenced this pull request Aug 16, 2023
### Description
This broke in #1192. We were missing some fixes for the refactor to
deploy the debug view
tonidero pushed a commit that referenced this pull request Aug 17, 2023
**This is an automatic release.**

### Bugfixes
* Fix offering metadata not fulling expanding (#1199) via Josh Holtz
(@joshdholtz)
### Other Changes
* Fix deploying extra packages (#1200) via Toni Rico (@tonidero)
* Debug view: Support deploying both noop and debug version of
`debugview` package (#1192) via Toni Rico (@tonidero)

---------

Co-authored-by: revenuecat-ops <ops@revenuecat.com>
Co-authored-by: Josh Holtz <me@joshholtz.com>
@vegaro vegaro added pr:other and removed pr:build labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants