bizz84 / bizz84/SwiftyStoreKit
Prepending bundle id causes error
- Dominant language
- Swift
- Stars
- 6.7k
- Forks
- 801
- PR merge metrics
- No merged PRs in 30d
Description
### Platform
- [ ] iOS
- [x] macOS
- [ ] tvOS
### In app purchase type
- [ ] Consumable
- [x] Non-consumable
- [ ] Auto-Renewable Subscription
- [ ] Non-Renewing Subscription
### Environment
- [x] Sandbox
- [ ] Production
### Version
0.11.1
### Related issues
N/A
## Report
The macOS demo seems slightly out of date, but Xcode recommends fixes that work for that. Then I run in to the problem that when I attempt to use the functions such as getInfo I get an invalid purchase ID error.
### Issue summary
Using
SwiftyStoreKit.retrieveProductsInfo([appBundleId + "." + purchase.rawValue])
results in an error message about the invalid ID for the purchase, but altering it to:
SwiftyStoreKit.retrieveProductsInfo([purchase.rawValue])
works fine.
Is this to be expected based on store kit changes since the demo was written?
Contributor guide
Assessment
This issue has not been assessed yet.