bizz84 / bizz84/SwiftyStoreKit

Does the SKPaymentTransactionObserver get events not caused by my API calls?

Open
#567 0 comments 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Swift
Stars
6.7k
Forks
801
PR merge metrics
No merged PRs in 30d

Description

That is, do events come in from Apple that originate with them, not in response to my calling SwiftyStoreKit?

I call SwiftyStoreKit.completeTransactions() at launch. I understand this registers the observer, which SSK manages for me. All subsequent interaction with the (hidden) observer come in completion handlers, which handle callbacks from specific requests I make. (E.g. retrieveProductsInfo, purchaseProduct, etc.)

What happens if an event is posted to the observer that is not in response to a specific call I make? How would my app be notified? Does this even happen?

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.