keyboard
keyboard

Reputation: 2355

In App Purchase - Long waiting times (up to 10 seconds) sometimes for first popup

We're using the RMStore framework (https://github.com/robotmedia/RMStore) in our game app to do In-App Purchases on iOS.

Sometimes between issuing the In-App Purchase and getting a feedback (showing the system popup to start the Purchase) takes up to 10 seconds. This is kind of rare but on some days it's really bad, while on others it's very fast.

Is there anything we can do about to have it always fast?

Do you/others also experience this issue?

Here's the code we use to start a purchase:

[[RMStore defaultStore] addPayment: [NSString stringWithUTF8String:productIdentifier.c_str()] success: ^(SKPaymentTransaction *transaction) {

    this->onPurchaseInAppProductSuccessInner(productIdentifier, [=](InAppPurchaseProductResult result) {

        callback(result);
    });

} failure:^(SKPaymentTransaction *transaction, NSError *error) {
    MLLOG("[AccountManager] Purchase Error");

}];

Upvotes: 2

Views: 1200

Answers (0)

Related Questions