bizz84 / bizz84/SwiftyStoreKit

iOS 13.2 in app purchase dialog not appearing

Open
#501 1 comment 0 reactions 0 assignees View on GitHub
area: purchase flows difficulty: intermediate iOS & iPadOS status: needs analysis type: bug
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
- [x] Non-consumable
- [ ] Auto-Renewable Subscription
- [ ] Non-Renewing Subscription

### Environment

- [x] Sandbox
- [ ] Production

### Version
0.15.0

## Report

### Issue summary
On iOS 13.2 purchase never call the completion closure, in-app purchase dialog is never shown.
The same code on iOS 13.1 works like a charm, the app tested on iOS 13.1 was rejected from the app store, for this reason, the reviewer tested on iOS 13.2.

ProductsInfoController.swift
```
for completion in query.completionHandlers {
completion(results) //do nothing
}
```

### Related issue
#500 something bad happen on iOS 13.2

### What did you expect to happen
the purchase should call the completion block and show the purchase dialog

### What happened instead
purchase dialog not shown

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.