Skip to content

Commit

Permalink
Updated readme.
Browse files Browse the repository at this point in the history
Fixed some Eng.
  • Loading branch information
hyochan committed Sep 16, 2018
1 parent a5f225d commit 0c4f16b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ sendToServer(transactionReceipt, {
});
```

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.
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.
```javascript
await RNIap.clearTransaction(); // add this method at the start of purchase.
const purchase = await RNIap.buyProductWithoutFinishTransaction(productId);
Expand Down

0 comments on commit 0c4f16b

Please sign in to comment.