Closed zarv1k closed 1 year ago
Description
TransactionSk2.appAccountToken is always null
TransactionSk2.appAccountToken
Expected Behavior
TransactionSk2.appAccountToken is UUID string when provided in purchaseRequest
purchaseRequest
Environment:
To Reproduce Steps to reproduce the behavior:
setup({ storekitMode: 'STOREKIT2_MODE' }); // ... const sku = 'com.example.product'; // ... await requestPurchase({ quantity: 1, appAccountToken: '73d7bd1d-0d44-4600-86b8-4222570a0931', sku, andDangerouslyFinishTransactionAutomaticallyIOS: false, }); // ... const transactionSk2 = await IapIosSk2.latestTransaction(sku); console.log(transactionSk2.appAccountToken); // null but should be '73d7bd1d-0d44-4600-86b8-4222570a0931'
Additional Context
It seems like the native UUID (including optional UUID?) instance serialization is broken on the react-native-iap lib side or on the RN bridge side
Thank you @zarv1k . Released as 12.8.1
12.8.1
Description
TransactionSk2.appAccountToken
is always nullExpected Behavior
TransactionSk2.appAccountToken
is UUID string when provided inpurchaseRequest
Environment:
To Reproduce Steps to reproduce the behavior:
Additional Context
It seems like the native UUID (including optional UUID?) instance serialization is broken on the react-native-iap lib side or on the RN bridge side