bizz84 / bizz84/SwiftyStoreKit

Prepending bundle id causes error

Open
#368 0 comments 0 reactions 0 assignees View on GitHub
macOS
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.