Original Content
https://github.com/hyodotdev/openiap/blob/d01b2260af66dedc06ffd37cc7ad758c93528826/packages/google/openiap/src/play/java/dev/hyo/openiap/OpenIapModule.kt#L1608C12-L1617C14
The map defining replacementModeConstant seems to be referencing this incorrect mapping (confusingly, different enum values apply to that different class). Instead, it should implement this correct mapping for the BillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParams class
(Hey @hyochan — I actually tried to open my own PR for this one, in a fix/* branch but I don't have access rights to push! Let me know if you'd be interested in reviewing some PRs for me as I keep surfacing these issues. Your response time has been super quick I really appreciate the work you're doing on this!)
Description
The replacementModeConstant map in the OpenIapModule is currently referencing an incorrect Android Billing API mapping.
Issue Details
Current (Incorrect) Mapping:
Correct Mapping:
Additional Note
I attempted to create a PR for this fix but don't have push access to the repository. I'd appreciate the opportunity to contribute PRs if you're open to it. Thank you for the quick response times on issues—I really appreciate your work on this project!
🤖 Formatted by gitdog.dev
Original Content
https://github.com/hyodotdev/openiap/blob/d01b2260af66dedc06ffd37cc7ad758c93528826/packages/google/openiap/src/play/java/dev/hyo/openiap/OpenIapModule.kt#L1608C12-L1617C14
The map defining
replacementModeConstantseems to be referencing this incorrect mapping (confusingly, different enum values apply to that different class). Instead, it should implement this correct mapping for theBillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParamsclass(Hey @hyochan — I actually tried to open my own PR for this one, in a
fix/*branch but I don't have access rights to push! Let me know if you'd be interested in reviewing some PRs for me as I keep surfacing these issues. Your response time has been super quick I really appreciate the work you're doing on this!)Description
The
replacementModeConstantmap in the OpenIapModule is currently referencing an incorrect Android Billing API mapping.Issue Details
Current (Incorrect) Mapping:
BillingFlowParams.SubscriptionUpdateParams.ReplacementModeCorrect Mapping:
BillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParams.ReplacementModeBillingFlowParams.ProductDetailsParams.SubscriptionProductReplacementParamsclassAdditional Note
I attempted to create a PR for this fix but don't have push access to the repository. I'd appreciate the opportunity to contribute PRs if you're open to it. Thank you for the quick response times on issues—I really appreciate your work on this project!
🤖 Formatted by gitdog.dev