处理storkit2
This commit is contained in:
@@ -9,10 +9,17 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
FOUNDATION_EXPORT NSString * const KBIAPDidCompletePurchaseNotification;
|
||||
FOUNDATION_EXPORT NSNotificationName const KBIAPDidCompletePurchaseNotification;
|
||||
|
||||
@interface IAPVerifyTransactionObj : NSObject <FGIAPVerifyTransaction>
|
||||
|
||||
/// 校验票据(StoreKit 2 入口)
|
||||
/// - Parameters:
|
||||
/// - receipt: Base64 编码的票据
|
||||
/// - completion: 回调,success 表示验签成功,statusCode 为后端状态码
|
||||
- (void)verifyReceipt:(NSString *)receipt
|
||||
completion:(void (^)(BOOL success, NSString * _Nullable message, NSInteger statusCode))completion;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
Reference in New Issue
Block a user