Releases: hyochan/react-native-iap
Releases · hyochan/react-native-iap
2.4.0
- Add support for iOS In-App Purchase promotions #388.
- Implemented
addAdditionalSuccessPurchaseListenerIOS
to handle extra successed purchase event. Related to #307 #397. - Attempt to fix crashing in
ensureConnection
for android. Related #315. - Fixed promise not resolving putting back
async
wrapper. - Fixed types for
addAdditionalSuccessPurchaseListenerIOS
. - Update
build.gradle
to match version in react-native0.58
. - Fix issue with promoted product event not firing on older devices #390.
- Add support for iOS In-App Purchase promotions.
2.3.23
- Fixed npe when
getAvailablePurcase
in android. - Additional catch for npe.
- Resolve
true
rather thannull
in android with successful interaction. - Avoid iml file to be uploaded to npm repo that may fail from build in android.
- Fixes not responding to successful purchase.
- Fixes for unsafe getting originalJson when restoring item and Android.
- Fixed
types
forbuySubscription
. - Fixed
transactionReceipt
field inandroid
. - Get originalJson in Android as a transanctionReceipt for validation #277.
- Fixed regression in adding proration mode. #279.
- Replace deprecated 'compile' gradle configuration with 'implementation' #282
- Fixed some breakings.
- Add prorationMode.
- Automatically handle connection initialization.
- Added types for
clearTransaction
. - Resolve #288.
2.2.0
1.2.4
1.2.1
0.3.1
types support.
types support for typescript users.
Edited refreshAllItems function for android to return json array like in ios.
0.2.2
The Breaking Changes
from version 0.1.*
is that you have prepare()
method deprecated which you should call before using RNIap
methods. Now you have to call prepareAndroid()
instead just to know that it is just android dependent method. Also to import module, previously in 0.1.*
you only had to do import RNIap from 'react-native-iap'
but now you have to do like import * as RNIap from 'react-native-iap'
.
For new method, refreshAllItems has been implemented for both ios and android. This feature will support senario for non-consumable products.