Skip to content

Commit 0c4f16b

Browse files
committed
Updated readme.
Fixed some Eng.
1 parent a5f225d commit 0c4f16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ sendToServer(transactionReceipt, {
312312
});
313313
```
314314

315-
However, sometimes apple internally causes problem itself before `finishTransaction` which queues are not resolved which may result in failure in next purchase ([related issue #256](https://github.com/dooboolab/react-native-iap/issues/257)). Therefore, we've made another method that may resolve this kind of issue in after purchase which is to finish up the queues at the start of each purchase. To resolve this, try code like below.
315+
However, sometimes apple internally causes problem itself before `finishTransaction` where queues are not resolved that may result in failure in next purchases ([related issue #256](https://github.com/dooboolab/react-native-iap/issues/257)). Therefore, we've made another method that may resolve this kind of issues in next purchases which is to finish up the queues at the start of each purchase. To resolve this, try the code like below.
316316
```javascript
317317
await RNIap.clearTransaction(); // add this method at the start of purchase.
318318
const purchase = await RNIap.buyProductWithoutFinishTransaction(productId);

0 commit comments

Comments
 (0)