Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 431675
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T19:59:54+00:00 2026-05-12T19:59:54+00:00

As suggested by Apple, I have put a button on my application, to restore

  • 0

As “suggested” by Apple, I have put a button on my application, to restore old successful transactions, in my in-app purchase application.

The problem is this. The user clicks the button and the application starts restoring the transactions. If the application is closed for some reason during this process, the process will continue the next time the application runs.

In my case, restoring all transactions can take some time, specially if the user has many transactions. So, when the application starts again, I see a black screen and the application do not loads until the last transaction is restored.

Apparently the process of restoring the transactions hangs the application that do not loads until it finishes.

As Apple recommends, I have this, on the beginning of my app…

CustomStoreObserver *observer = [[CustomStoreObserver alloc] init];
[[SKPaymentQueue defaultQueue] addTransactionObserver:observer];

This is useful for restoring interrupted sales but in my case is causing a pain when the question is restoring old transactions already bought.

I would like to be able to abort any restoration of old transactions that could run, when the program starts and just allow them while toe app is running.

Any way to do that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T19:59:55+00:00Added an answer on May 12, 2026 at 7:59 pm

    Can you not create the store observer in a different thread/run loop so that it doesn’t block the UI thread?

    Failing that, only add the transaction observer after you have made a splash screen visible?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have a look on following application http://itunes.apple.com/us/app/fatbooth/id372268904?mt=8 i think they are using the same
Archaelus suggested in this post that writing a new format routine to handle named
Some people have suggested that when doing an estimate one should make a lower
I have looked at the Suggested related questions but none of them are what
I've read a few posts where people have stated (not suggested, not discussed, not
I must develop a simple web application to produce reports. I have a single
I am planning an app for iphone 3g, 3gs and iphone 4. I have
I have to resolve a problem close to parsing a huge file like, 3
What is your suggested solution for the threat of website UI spoofing?
I've run the suggested commands found here but I still can't seem to get

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.