bizz84 / bizz84/SwiftyStoreKit

Question: Verify Subscription Silently

Open
#390 7 comments 5 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

### Platform

- [X] iOS
- [ ] macOS
- [ ] tvOS

### In app purchase type

- [ ] Consumable
- [ ] Non-consumable
- [X] Auto-Renewable Subscription
- [ ] Non-Renewing Subscription

### Environment

- [ ] Sandbox
- [X] Production

### Version
0.13.3

## Question

### Question summary
Is possible to verify a subscription without ask the user for Itunes Password?
I need this to verify if the user contains a valid Subscription every time that he open the app.

### What did you expect to happen
Verify subscription without as password every time.

### What happened instead
Every time that I call for the below code, the app ask for user password. But I just want to know if he subscription still valid.

let appleValidator = AppleReceiptValidator(service: .production, sharedSecret: "secret-key")
SwiftyStoreKit.verifyReceipt(using: appleValidator, completion: completion)

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.