Skip to content

Commit

Permalink
feat: Added export finishTransaction() from StoreKit2.
Browse files Browse the repository at this point in the history
  • Loading branch information
khrulev committed Jan 4, 2024
1 parent 7e7bac4 commit 2dbc373
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/modules/iosSk2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,9 @@ export const beginRefundRequest = (sku: string): Promise<RefundRequestStatus> =>
*/
export const showManageSubscriptions = (): Promise<null> =>
RNIapIosSk2.showManageSubscriptions();

/**
*
*/
export const finishTransaction = (transactionIdentifier: string): Promise<Boolean> =>
RNIapIosSk2.finishTransaction(transactionIdentifier);

0 comments on commit 2dbc373

Please sign in to comment.