-
Notifications
You must be signed in to change notification settings - Fork 796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions regarding reliability (after using SwiftyStoreKit in production) and a delegate-based API #130
Comments
@itchingpixels thanks for reporting this! I am currently working on a major refactor that hopefully will address the 5-10% of cases where purchases don't work correctly. See this PR: #131 This maps more closely to how Other people have requested a way to hook up analytics / logging. I'm open at looking at ways to include this feature once the PR above is merged, provided that the way it is implemented will keep the code clean (I would prefer to avoid scattering a lot of calls for the various checkpoints that we may wish to log). |
@bizz84 great, thank you for your response! Is there anything I can help with the refactor? Do you have a list of actions that are left to do? Seeing how the refactor approaches payment processing, I think making that happen could be as easy as adding a "logTransactions" closure to the singleton (as far as the public facing API goes). |
@itchingpixels For now a code review would be most welcome. I have added a checklist of tasks here: #131 I expect to complete most of these this weekend. As for additional help I would appreciate some input / PR with unit tests for receipt verification, verify purchase and subscriptions. Also if you don't mind trying out the new work that would be good too. This should help with the integration:
|
Okay, thank you for the info! My schedule will be the following:
Thanks a lot, and looking forward to this! |
An update on my progress:
I'm sorry that I'm bailing on contributing. |
@itchingpixels that's fine, thanks for looking into this. I plan to keep the main design as is and only iterate in small changes going forward. I'll also review all the callbacks for thread consistency. If you encounter any issues with your Q/A, please let me know. |
No worries, sorry again. QA said they've executed 80% of their test plans involving payments and so far they haven't found any issues. I'll confirm when they reach 100% and gave green light later today. |
@itchingpixels would be good to know if you have migrated to the new 0.7.0 release and whether this has resolved the previous IAP problems. Thanks. |
@bizz84: we've been using it in produysince yesterday. will report back in
a few days about whether we're seeing nore or less problems!
…On 2017. Feb 4., Sat at 22:01, Andrea Bizzotto ***@***.***> wrote:
@itchingpixels <https://github.com/itchingpixels> would be good to know
if you have migrated to the new 0.7.0 release
<https://github.com/bizz84/SwiftyStoreKit/releases/tag/0.7.0> and whether
this has resolved the previous IAP problems.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFKlYKGvX42-DsZ4IVD8Pb7lgEd8rp3dks5rZPU-gaJpZM4LoWBO>
.
|
@itchingpixels Hi, we had experienced similar issue, any updates about your status and performance in production? Thanks! |
I'm sorry, I thought I did report back. So far - good. We're still seeing support tickets popping up about "restore purchase" failing sometimes (rarely), but I think we haven't got any about the actual purchase not going through. |
@itchingpixels I'm closing this due to inactivity. Feel free to reopen if you still experience issues. |
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).
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.
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
The text was updated successfully, but these errors were encountered: