Is the asynchronous part of the new Apple Validation Controller necessary?

I looked at the Apple Control Control patch for In App Purchase here: https://developer.apple.com/library/ios/#releasenotes/StoreKit/IAP_ReceiptValidation/_index.html

I planned to check the server, but did not require an immediate response.

Whether the asynchronous part of their new code is needed. Does it provide an advantage over naive server-side validation?

If I could just use direct parsing and validation and get the benefit, that would be great.

Thank!

EDIT: this question seems a bit empty without any code:

I am specifically talking about changing the main verifyPurchase function to contain only:

- (BOOL)verifyPurchase:(SKPaymentTransaction *)transaction;
{
    return [self isTransactionAndItsReceiptValid:transaction];
}

... → . - ?

+5
1

.

, , , - - . , /. , ( , ).

( , 256- , . , , /PRNG, .)

, :

  • - EV. , .
  • " " -isTransactionAndItsReceiptValid: , . , , .
  • , , .
  • , ITC_CONTENT_PROVIDER_SHARED_SECRET ( -).
  • , -connection:didReceiveData: ( - , , , , Apple ).
+3

All Articles