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

Paywalls Tester: Enable Example Paywalls in Release Mode #3885

Merged
merged 7 commits into from
May 15, 2024

Conversation

jamesrb1
Copy link
Member

@jamesrb1 jamesrb1 commented May 10, 2024

The paywalls examples weren't showing up when compiled in release mode. Enabling it meant making a bunch of more internal things public via the preprocessing script. TestData is no longer #ifdef DEBUGed out, but most of its data is still #ifdef DEBUG, and when it's compiled with an internal modifier and thus nothing uses it, I'd expect what remains to be stripped away during linking.

@RevenueCat-Danger-Bot
Copy link

RevenueCat-Danger-Bot commented May 10, 2024

1 Message
📖 Size increase: 5.68 KB

Generated by 🚫 Danger

@jamesrb1 jamesrb1 added the test Adding missing tests or correcting existing tests label May 10, 2024
@jamesrb1 jamesrb1 marked this pull request as ready for review May 11, 2024 00:34
@jamesrb1 jamesrb1 requested a review from a team May 11, 2024 00:34
jamesrb1 added a commit that referenced this pull request May 14, 2024
This is temporarily needed to make it compile in release, but this will work again when #3885 is included
Copy link
Contributor

@tonidero tonidero left a comment

Choose a reason for hiding this comment

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

LGTM!

@jamesrb1 jamesrb1 merged commit 478dd26 into main May 15, 2024
24 checks passed
@jamesrb1 jamesrb1 deleted the james/paywalls-tester/example-paywalls-release-mode branch May 15, 2024 19:06
jamesrb1 added a commit that referenced this pull request May 15, 2024
This is temporarily needed to make it compile in release, but this will work again when #3885 is included
jamesrb1 added a commit that referenced this pull request May 15, 2024
This PR:

- Updates the bundle name to com.revenuecat.app (a new app in App Store
Connect has been set up.)
- Updates the icon.
- Update the app's Display Name to Revenue Cat.
- Removes unneeded keys for "demos" and "testing".
- Changes how keys are stored/managed locally. I'm not completely happy
with this arrangement, but I think it's an improvement because local
keys are now stored in a separate file which can be marked as
`skip-worktree` or `assume-unchanged` which hides them from the diff to
help you not commit changes in it accidentally (which I have done).
- Adds a file in the pre-commit hook to check for keys in
`LocalConfigItems.swift`

For this to compile in release, and the demos tab to show up, the
changes from [this
PR](#3885) are needed.
vegaro pushed a commit that referenced this pull request Jun 3, 2024
**This is an automatic release.**

### New Features
* RemoteImage Low Res Image support (#3906) via James Borthwick
(@jamesrb1)
### Bugfixes
* [EXTERNAL] Hide decorative Paywall images from accessibility (#3886)
via @shiftingsand (#3892) via Toni Rico (@tonidero)
### Dependency Updates
* Bump rexml from 3.2.6 to 3.2.8 in
/Tests/InstallationTests/CocoapodsInstallation (#3908) via
dependabot[bot] (@dependabot[bot])
* Bump fastlane-plugin-revenuecat_internal from `dd5e21f` to `8ec0072`
(#3873) via dependabot[bot] (@dependabot[bot])
### Other Changes
* Revert to use xcode 14 to fix deploys (#3929) via Cesar de la Vega
(@vegaro)
* SPMInstallation tests deployment version increase (#3922) via Cesar de
la Vega (@vegaro)
* Only install `swiftlint` on Xcode 15 jobs (#3913) via Josh Holtz
(@joshdholtz)
* Add `http_request_performed` diagnostics event (#3897) via Toni Rico
(@tonidero)
* Paywalls Tester: App Store Prep (#3889) via James Borthwick
(@jamesrb1)
* Paywalls Tester: Enable Example Paywalls in Release Mode (#3885) via
James Borthwick (@jamesrb1)
* Use Ruby 3.2 on CircleCI (#3896) via Josh Holtz (@joshdholtz)
* PaywallsTester: Remove unused code (#3884) via James Borthwick
(@jamesrb1)
* Improved Error Handling (#3883) via James Borthwick (@jamesrb1)
* Clear diagnostics file if we detect it's too big during event tracking
(#3824) via Toni Rico (@tonidero)
* Preprocessor to make select constructs public (#3880) via James
Borthwick (@jamesrb1)
* Paywalls Tester: Use key defined in CI (#3869) via James Borthwick
(@jamesrb1)
* Cleanup: Remove test storekit configuration files when importing
through SPM (#3878) via Andy Boedo (@aboedo)
* Update fastlane plugin and fix docs index path (#3872) via Toni Rico
(@tonidero)
* Update to use xcode 15.3 in CI (#3870) via Cesar de la Vega (@vegaro)
* Paywalls Tester 0.1 (#3868) via James Borthwick (@jamesrb1)
* Update config.yml for SPM repo copy (#3861) via James Borthwick
(@jamesrb1)
* Change deploy-purchase-tester to use xcode 15 (#3858) via Cesar de la
Vega (@vegaro)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Adding missing tests or correcting existing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants