-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Closed
Copy link
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Steps to reproduce
- InAppPurchaseStoreKitPlatform.enableStoreKit2();
- Configure introductory pricing in AppStore
- After calling this code
final productDetailsResponse = await _inAppPurchase.queryProductDetails({productIds});if we take a look at ProductDetails data from productDetailsResponse we can't see any 'introductory pricing' data. We only havesk2Product.subscription?.promotionalOffers.
This code does not retrieve introductory pricing offers
sk2Product.subscription?.promotionalOffers.firstWhereOrNull(
(promotionalOffer) =>
promotionalOffer.type == SK2SubscriptionOfferType.introductory,
)
We only see promotional offers with the current implementation.
The native IOS modal shows the introductory pricing amount but the code mentioned at the top used to show the in-app modal does not contain the introductory pricing data.
I'm using
in_app_purchase_storekit: ^0.3.20+3
Expected results
sk2Product.subscription should have an introductoryPricingOffers list
Actual results
sk2Product.subscription does not provide an introductoryPricingOffers list
Code sample
Code sample
[Paste your code here]Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.1.1 24B2091 darwin-arm64, locale en-AR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.96.2)
[✓] Connected device (5 available)
[✓] Network resources
• No issues found!jokuni, maRci002 and basnetjitenbasnetjiten
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work listp: in_app_purchasePlugin for in-app purchasePlugin for in-app purchasepackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team