Skip to content

Questions regarding reliability (after using SwiftyStoreKit in production) and a delegate-based API #130

@almostintuitive

Description

@almostintuitive

Hi,

First of all, thank you all for your hard work, SwiftyStoreKit is a huge help for us.
We have been using it in production for the last 6 months (migrated over from RMStore), and found it great. (happy for it to be featured in the README: https://itunes.apple.com/us/app/5-minute-italian-drops/id939540371?ls=1&mt=8)
But also, since we made the jump, we have been getting support requests indicating that around 5-10% of our users (fluctuating between 60-200k monthly) are consistently having problems with buying IAP products.
This was not something we've experienced before - we have not had any complaints with the previous library we're using (RMStore).

  1. Are there any others who have problems on a similar scale (5-10% of purchases)?

In addition to handling the standard callbacks, we're calling completeTransactions() at the start of the app, and handling its result according to the docs.

I've read that the closure (callback) based interface does not necessarily map to how StoreKit works.
I do like the convenience SwiftyStoreKit provides (receipt validation, help with subscriptions, etc), but it'd be great to optionally also use delegate methods or notifications (no matter how much I don't like any of those options personally) and potentially increase reliability via that route.
It'd be also great since we could then hook up various analytics tools to log purchases that way.

  1. Is this something that other people requested?
  2. Would it potentially increase the reliability of SwiftyStoreKit?

If the answer to point 3 is yes, I'll consider implementing that myself (or creating an additional library that uses most of SwiftyStoreKit's code, but provides "direct" wrapped access to the delegate methods of StoreKit.).

Thanks a lot!

Mark

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions