File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ - (instancetype)init
1919 return self;
2020}
2121
22+ + (BOOL )requiresMainQueueSetup {
23+ return NO ;
24+ }
25+
2226- (dispatch_queue_t )methodQueue
2327{
2428 return dispatch_get_main_queue ();
@@ -124,7 +128,7 @@ - (void)paymentQueue:(SKPaymentQueue *)queue
124128 callback (@[@" restore_failed" ]);
125129 break ;
126130 }
127-
131+
128132 [_callbacks removeObjectForKey: key];
129133 } else {
130134 RCTLogWarn (@" No callback registered for restore product request." );
@@ -252,7 +256,7 @@ - (NSDictionary *)getPurchaseData:(SKPaymentTransaction *)transaction {
252256 purchase[@" originalTransactionDate" ] = @(originalTransaction.transactionDate .timeIntervalSince1970 * 1000 );
253257 purchase[@" originalTransactionIdentifier" ] = originalTransaction.transactionIdentifier ;
254258 }
255-
259+
256260 return purchase;
257261}
258262
You can’t perform that action at this time.
0 commit comments