SwiftyStoreKit
SwiftyStoreKit copied to clipboard
When the Apple team reviewed, the requested product information was empty. But I have data on my local test. I don't know what the problem is, so I came to ask for help.
Platform
- [x] iOS
- [ ] macOS
- [ ] tvOS
In app purchase type
- [ ] Consumable
- [ ] Non-consumable
- [ ] Auto-Renewable Subscription
- [ ] Non-Renewing Subscription
Environment
- [ ] Sandbox
- [x] Production
Version
ℹ Please replace this with the version of SwiftyStoreKit you're using.
Related issues
ℹ Please replace this with references to similar issues (either open or already closed).
Report
Issue summary
ℹ Please replace this with an explanation of the issue, including reproduction steps.
What did you expect to happen
ℹ Please replace this with what you expected to happen.
What happened instead
ℹ Please replace this with what happened instead.
SwiftyStoreKit.retrieveProductsInfo(Set(productIds)) { (result) in if !result.retrievedProducts.isEmpty {
}
}
When the Apple team reviewed, the requested product information was empty. But I have data on my local test. I don't know what the problem is, so I came to ask for help.Thank you
@mapleleaf99 I think you should write your own request in app purchase product by apple API. It's pretty easy to implement.
You can preferences example code by Apple https://developer.apple.com/documentation/storekit/in-app_purchase/offering_completing_and_restoring_in-app_purchases
https://developer.apple.com/documentation/storekit/in-app_purchase/fetching_product_information_from_the_app_store
Hi @mapleleaf99 could you please clarify what it is you're having an issue with?
Please take a look at issue #550. Your help with this project is dearly needed! @mapleleaf99
check here https://developer.apple.com/forums/thread/120852 answer by geetesh