Skip to content

[iOS] purchaseDiscountedProduct throws an error when using usesStoreKit2IfAvailable #455

Description

@KristineTrona

Describe the bug

Calling purchaseDiscountedProduct on iOS throws an error when usesStoreKit2IfAvailable is set to true. The error I get is:

Error: The information associated with this PromotionalOffer is not valid.

Setting usesStoreKit2IfAvailable to false works with no problems.

Environment
Platform: iOS
React-native-purchases: 5.1.1
React Native version: 0.63.4
Xcode: 14.01
Cocoapods: 1.11.3

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriaged

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions