草庐IT

purchaseInfoDict

全部标签

ios - 应用内购买收据验证矛盾

Apple提供了两份关于收据验证的文件,其中的陈述显然相互矛盾。在“VerifyingStoreReceipts”中:Note:OniOS,thecontentsandformatofthestorereceiptisprivateandsubjecttochange.Yourapplicationshouldnotattempttoparsethereceiptdatadirectly.然而,在“In-AppPurchaseReceiptValidationoniOS”中提供了示例代码,其中商店收据被解析和验证,作为安全漏洞“缓解策略”的一部分://Checkthevalidityo