Releases: hyochan/react-native-iap
Releases · hyochan/react-native-iap
4.0.3
- [4.0.3] bug fixes in #771
- [4.0.2] bug fixes in #769
- [4.0.1] bug fixes in #768
- Remove unused methods and fix typings
- Default andDangerouslyFinishTransactionAutomatically to true
- Update eslint rules
- Remove all the deprecated methods
- Remove
buyProduct. - Remove
buySubscription. - Remove
addAdditionalSuccessPurchaseListenerIOS. - Rename
requestReceiptIOStogetReceiptIOS. - Rename
buyProductWithOfferIOStorequestPurcaseWithOfferIOS. - Rename
buyProductWithQuantityIOStorequestProductWithQuantityIOS.
- Remove
- Add missing types
- Abstracts verifying purchases into one method, finishTransaction
- It abstracts
finishTransactionIOS,consumePurchaseAndroid,acknowledgePurchaseAndroidin to one method.
- It abstracts
- Expose
developerIdandaccoundIdwhen requestingpurchaseorsubscription. - Migrated to
tsproject.- Remove generated file from
dep.
- Remove generated file from
- Simplified
eslintusing@dooboo/eslint-config.
3.4.11
- [3.4.+]
- Makes module possible to be built in older XCode version #650.
- Makes iOS
getSubscriptionsreturn subscriptions that only received ids #654. - [3.4.1]
- [3.4.2]
- Enhanced typings.
- [3.4.5]
- Enhanced more typings #696.
- Support installation guide for both
RN >= 0.60andRN <0.60. No need to use different version ofreact-native-iapnow.
- [3.4.6]
- Reject promises on
initConnectionwhen not resolved #704.
- Reject promises on
- [3.4.7]
- Add missing variable
isAcknowledgedAndroidwhen fetchinggetAvailableItems. - Fix bad return type of promise of 'initConnection' in
flowandtypescript.
- Add missing variable
- [3.4.8]
- Don't use this version
- [3.4.9]
- Improve initConnection errors on android #714
- [3.4.10]
- Remove
androiddeprecated apis.
- Remove
- [3.4.11]
- Add
deveoperIdandaccountIdwhen requestingpurchaseorsubscriptioninandroid. Find out more inrequestPurchaseandrequestSubscription.
- Add
- [3.3.+]
- [3.3.0]
- Fix #581 by allowing the user to manually call finishTransaction on iOS. Deprecates allowing RNIap to automatically call finishTransaction.
- Adds
finishTransactionIOS(transactionId)which should be called after persisting a successful consumable transaction to disk or server. (Similar toconsumePurchaseAndroidandacknowledgePurchaseAndroid). - Deprecates using requestPurchase without setting
andDangerouslyFinishTransactionAutomaticallytofalseon iOS. This will default to false in a future major release. - Sends any unfinished (iOS), unconsumed or unacknowledged (Android) purchases directly when the first
purchaseUpdatedListeneris added. This happens even if the app is relaunched and should be used to recover purchases that got charged through the store but were never delivered to the user. Be sure to finish, consume or acknowledge all purchases when you have delivered them.
- [3.2.+]
- Update readme.
- Fixed type.
- Fixes build for
iosunder target12.2.
- [3.2.0]
- Support
acknowledgePurchaseAndroidfor breaking changes in android billing client2.0+.
- Support
- [3.1.2]
- Remove
getOrderIdfrom PurchaseHistory #554
- Remove
- [3.1.1]
- Fix transanctionId in
onPurchaseUpdatedinandroid#552
- Fix transanctionId in
- [3.1.0]
- Androidx migration #550
- Upgrade example project to
[email protected]
- [3.0.1]
- Fixes for #546
- [3.0.0]
- Major migration and breaking changes done in #510
- Fixes crashing when
requestPurchasein android #512 - Fix minor typing #514
- Add purchaseErrorListner to subscribe purchase error.
ioswarning fixed. Typings added. #517 - Resolve #315 by safely wrap promises with
ObjectAlreadyConsumedException. - Fixed typo in
purchaseErrorListener. - Fixed missing import for
ObjectAlreadyConsumedException. - Update
podspecto match the version. - Improved handling of receipts #521
- Fixes for #530
- Make ensureConnection always provide a valid BillingClient #539
3.4.4
3.4.1
3.3.2
- [3.3.2]
- Improve typings #599.
- [3.3.1]
- Fix flow tying #594.
- [3.3.0]
- Fix #581 by allowing the user to manually call
finishTransactionon iOS. Deprecates allowing RNIap to automatically callfinishTransaction. - Adds
finishTransactionIOS(transactionId)which should be called after persisting a successful consumable transaction to disk or server. (Similar toconsumePurchaseAndroidandacknowledgePurchaseAndroid). - Deprecates using
requestPurchasewithout settingandDangerouslyFinishTransactionAutomaticallytofalseon iOS. This will default to false in a future major release. - Sends any unfinished (iOS), unconsumed or unacknowledged (Android) purchases directly when the first
purchaseUpdatedListeneris added. This happens even if the app is relaunched and should be used to recover purchases that got charged through the store but were never delivered to the user. Be sure to finish, consume or acknowledge all purchases when you have delivered them.
- Fix #581 by allowing the user to manually call
- [3.2.+]
- Update readme.
- Fixed type.
- Fixes build for
iosunder target12.2.
- [3.2.0]
- Support
acknowledgePurchaseAndroidfor breaking changes in android billing client2.0+.
- Support
- [3.1.2]
- Remove
getOrderIdfrom PurchaseHistory #554
- Remove
- [3.1.1]
- Fix transanctionId in
onPurchaseUpdatedinandroid#552
- Fix transanctionId in
- [3.1.0]
- Androidx migration #550
- Upgrade example project to
[email protected]
- [3.0.2]
- Support
acknowledgePurchaseAndroidfor breaking changes in android billing client2.0+.
- Support
- [3.0.1]
- Fixes for #546
- [3.0.0]
- Major migration and breaking changes done in #510
- Fixes crashing when
requestPurchasein android #512 - Fix minor typing #514
- Add purchaseErrorListner to subscribe purchase error.
ioswarning fixed. Typings added. #517 - Resolve #315 by safely wrap promises with
ObjectAlreadyConsumedException. - Fixed typo in
purchaseErrorListener. - Fixed missing import for
ObjectAlreadyConsumedException. - Update
podspecto match the version. - Improved handling of receipts #521
- Fixes for #530
- Make ensureConnection always provide a valid BillingClient [#539](#539
2.5.5
2.4.0
- Add support for iOS In-App Purchase promotions #388.
- Implemented
addAdditionalSuccessPurchaseListenerIOSto handle extra successed purchase event. Related to #307 #397. - Attempt to fix crashing in
ensureConnectionfor android. Related #315. - Fixed promise not resolving putting back
asyncwrapper. - Fixed types for
addAdditionalSuccessPurchaseListenerIOS. - Update
build.gradleto 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
getAvailablePurcasein android. - Additional catch for npe.
- Resolve
truerather thannullin 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
typesforbuySubscription. - Fixed
transactionReceiptfield 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.
