Skip to content

Fix purchase tester navigation#871

Merged
beylmk merged 1 commit into
bc5-supportfrom
fix-purchase-tester-parcelable
Mar 14, 2023
Merged

Fix purchase tester navigation#871
beylmk merged 1 commit into
bc5-supportfrom
fix-purchase-tester-parcelable

Conversation

@beylmk

@beylmk beylmk commented Mar 14, 2023

Copy link
Copy Markdown
Contributor

My last PR broke purchase tester 🥴

Unfortunately, now that offering isn't parcelable, we can't pass it through safeargs for navigation from OverviewFragment to OfferingFragment. This updates the app to pass offering ID through instead, and re-fetch offerings on the OfferingFragment. It's ugly and makes me want to reconsider if we can somehow make StoreProduct Parcelable... but for now, just want to fix purchase tester crashing

@beylmk beylmk requested a review from joshdholtz March 14, 2023 14:57
@beylmk beylmk added the test label Mar 14, 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.

giphy (1)

@beylmk beylmk merged commit 2a70043 into bc5-support Mar 14, 2023
@beylmk beylmk deleted the fix-purchase-tester-parcelable branch March 14, 2023 15:48
@joshdholtz joshdholtz mentioned this pull request Mar 23, 2023
joshdholtz added a commit that referenced this pull request Mar 23, 2023
### Breaking Changes
* Rename `introTrial` to `introOffer` on `SubscriptionOptions` (#890)
via Josh Holtz (@joshdholtz)
* Use `rc-ignore-offer` instead of `rc-ignore-befault-offer` (#889) via
Josh Holtz (@joshdholtz)
* AmazonStoreProduct updates (#881) via beylmk (@beylmk)
* Remove Parcelable implementation for classes with ProductDetails as a
member (#866) via beylmk (@beylmk)
* Make Activity first param in PurchaseParams (#882) via Josh Holtz
(@joshdholtz)
### New Features
* Re-enable `observerMode` and `syncPurchases()` (#878) via Josh Holtz
(@joshdholtz)
### Bugfixes
* Re-add `price_string` header on postReceipt (#879) via Josh Holtz
(@joshdholtz)
### Other Changes
* Cleaning up some TODOs in the code (#883) via Josh Holtz (@joshdholtz)
* Amazon Offering Parsing (#824) via beylmk (@beylmk)
* Merge main ->  bc5-support 2023-03-15 (#875) via Toni Rico (@tonidero)
* Fix purchase tester navigation (#871) via beylmk (@beylmk)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants