fix: Add transaction details to StoreKit callbacks
This commit is contained in:
parent
95aad7ac82
commit
15607f0beb
4 changed files with 63 additions and 28 deletions
|
|
@ -12,7 +12,10 @@
|
|||
+ (instancetype)sharedInstance;
|
||||
|
||||
- (void)purchaseProduct:(NSString *)productIdentifier
|
||||
completion:(void (^)(BOOL success, NSError *_Nullable error))completion;
|
||||
completion:(void (^)(BOOL success,
|
||||
NSString *_Nullable transactionId,
|
||||
NSString *_Nullable productId,
|
||||
NSError *_Nullable error))completion;
|
||||
|
||||
- (void)restorePurchasesWithCompletion:(void (^)(BOOL success, NSError *_Nullable error))completion;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue