Skip to content

PaywallEventStore: also remove legacy revenuecat documents directory#3317

Merged
NachoSoto merged 1 commit into
mainfrom
event-store-remove-container-folder
Oct 18, 2023
Merged

PaywallEventStore: also remove legacy revenuecat documents directory#3317
NachoSoto merged 1 commit into
mainfrom
event-store-remove-container-folder

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

Fixes #3316. Follow up to #3289.

That previous fix was only removing the store itself, but not the revenuecat folder.

Running an app with 4.27.2 produces this:

$ tree -L 3 ~/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
~/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
├── Documents
│   └── revenuecat
│       └── paywall_event_store

After this fix, the Documents directory is empty.

tree -L 4 ~/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
/Users/ignacio/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
├── Documents
├── Library
│   ├── Application Support
│   │   └── revenuecat
│   │       └── paywall_event_store

This is still covered by the same test introduced in #3289.

Fixes #3316. Follow up to #3289.

That previous fix was only removing the store itself, but not the `revenuecat` folder.

Running an app with 4.27.2 produces this:
```bash
$ tree -L 3 ~/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
~/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
├── Documents
│   └── revenuecat
│       └── paywall_event_store
```

After this fix, the Documents directory is empty.
```bash
tree -L 4 ~/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
/Users/ignacio/Library/Developer/CoreSimulator/Devices/.../data/Containers/Data/Application/.../
├── Documents
├── Library
│   ├── Application Support
│   │   └── revenuecat
│   │       └── paywall_event_store
```
@NachoSoto NachoSoto added the pr:fix A bug fix label Oct 18, 2023
@NachoSoto NachoSoto requested a review from a team October 18, 2023 16:43
@NachoSoto NachoSoto self-assigned this Oct 18, 2023

@joshdholtz joshdholtz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

❤️

@NachoSoto NachoSoto merged commit 0d71024 into main Oct 18, 2023
@NachoSoto NachoSoto deleted the event-store-remove-container-folder branch October 18, 2023 18:01
NachoSoto pushed a commit that referenced this pull request Oct 18, 2023
**This is an automatic release.**

### Bugfixes
* `PaywallEventStore`: also remove legacy `revenuecat` documents
directory (#3317) via NachoSoto (@NachoSoto)
### Other Changes
* `CI`: run all iOS 17 tests (#3312) via NachoSoto (@NachoSoto)
* `StoreKit 2`: Optionally send JWS tokens instead of receipts to the
backend (#3227) via Mark Villacampa (@MarkVillacampa)
* `CircleCI`: update simulators for Xcode 15.0.1 (#3311) via NachoSoto
(@NachoSoto)
* `StoreKit 1`: improved debug log for `finishTransactions` invoked
outside the SDK (#3300) via NachoSoto (@NachoSoto)
* `Debug View`: display receipt status (#3303) via NachoSoto
(@NachoSoto)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possibly user-visible "revenuecat" folder inside app's Documents directory

2 participants