bizz84 / bizz84/SwiftyStoreKit
Need example how to use discounts
Open
type: question
- Dominant language
- Swift
- Stars
- 6.7k
- Forks
- 801
- PR merge metrics
- No merged PRs in 30d
Description
## Question
Hello I need example how to use discounts,
I can not get this to work
`SwiftyStoreKit.purchaseProduct(productSK!, quantity: 1, atomically: true, applicationUsername: "", simulatesAskToBuyInSandbox: false, paymentDiscount: productSK?.discounts.first)`
I want to give users 3 days trial for example and I setup everything on the server, but I really don't understand how to do that...
Thank you
Contributor guide
Assessment
This issue has not been assessed yet.