Skip to content

Releases: dooboolab-community/react-native-iap

4.3.0

01 Dec 16:04
Compare
Choose a tag to compare

[4.3.0]

  • Bug fixes and remove tsconfig #854.
    [4.2.2]
  • Fixes #845.
    [4.2.1]
  • Fixes #839 and #841.
    [4.2.0]
  • Bump up the version due to npm bug.
    [4.1.1]
  • Fix Android compile error for React Native v0.60.x due to missing method #835
    [4.1.0]
  • finishTransaction has been renewed by the request in #797
    [4.0.8]
  • Added subs to the list of unconsumed purchases #807
  • Fixed promise never returned from requestSubscription() #806
  • Fixed promise acceptation/rejection not propagated to JS #809
    [4.0.7]
  • Correctly fix andDangerouslyFinishTransactionAutomatically default to true.
    [4.0.5]
  • Resolve #788
    [4.0.4]
  • Call correct methods in finishTransaction Android #778

4.0.3

07 Oct 01:35
6eabb38
Compare
Choose a tag to compare
  • [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 requestReceiptIOS to getReceiptIOS.
    • Rename buyProductWithOfferIOS to requestPurcaseWithOfferIOS.
    • Rename buyProductWithQuantityIOS to requestProductWithQuantityIOS.
  • Add missing types
  • Abstracts verifying purchases into one method, finishTransaction
    • It abstracts finishTransactionIOS, consumePurchaseAndroid, acknowledgePurchaseAndroid in to one method.
  • Expose developerId and accoundId when requesting purchase or subscription.
  • Migrated to ts project.
    • Remove generated file from dep.
  • Simplified eslint using @dooboo/eslint-config.

3.4.11

17 Sep 01:55
Compare
Choose a tag to compare
  • [3.4.+]
    • Makes module possible to be built in older XCode version #650.
    • Makes iOS getSubscriptions return subscriptions that only received ids #654.
    • [3.4.1]
      • Method to retrive pending transaction #663.
      • Fixed missing autoRenewingAndroid key #670.
    • [3.4.2]
      • Enhanced typings.
    • [3.4.5]
      • Enhanced more typings #696.
      • Support installation guide for both RN >= 0.60 and RN <0.60. No need to use different version of react-native-iap now.
    • [3.4.6]
      • Reject promises on initConnection when not resolved #704.
    • [3.4.7]
      • Add missing variable isAcknowledgedAndroid when fetching getAvailableItems.
      • Fix bad return type of promise of 'initConnection' in flow and typescript.
    • [3.4.8]
      • Don't use this version
    • [3.4.9]
      • Improve initConnection errors on android #714
    • [3.4.10]
      • Remove android deprecated apis.
    • [3.4.11]
      • Add deveoperId and accountId when requesting purchase or subscription in android. Find out more in requestPurchase and requestSubscription.
  • [3.3.+]
    • Fix flow tying #594.
    • Handle null pointer exception #600.
    • Keep valid SKUs in android when fetching products #602
    • Fix possibility for NullPointerException #607
    • Resolve #624
    • Support better error codes #616
  • [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 to consumePurchaseAndroid and acknowledgePurchaseAndroid).
    • Deprecates using requestPurchase without setting andDangerouslyFinishTransactionAutomatically to false on iOS. This will default to false in a future major release.
    • Sends any unfinished (iOS), unconsumed or unacknowledged (Android) purchases directly when the first purchaseUpdatedListener is 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 ios under target 12.2.
  • [3.2.0]
    • Support acknowledgePurchaseAndroid for breaking changes in android billing client 2.0+.
  • [3.1.2]
    • Remove getOrderId from PurchaseHistory #554
  • [3.1.1]
    • Fix transanctionId in onPurchaseUpdated in android #552
  • [3.1.0]
    • Androidx migration #550
    • Upgrade example project to react-native@0.60.0-rc.2
  • [3.0.1]
  • [3.0.0]
    • Major migration and breaking changes done in #510
    • Fixes crashing when requestPurchase in android #512
    • Fix minor typing #514
    • Add purchaseErrorListner to subscribe purchase error. ios warning fixed. Typings added. #517
    • Resolve #315 by safely wrap promises with ObjectAlreadyConsumedException.
    • Fixed typo in purchaseErrorListener.
    • Fixed missing import for ObjectAlreadyConsumedException.
    • Update podspec to match the version.
    • Improved handling of receipts #521
    • Fixes for #530
    • Make ensureConnection always provide a valid BillingClient #539

3.4.4

04 Sep 09:08
Compare
Choose a tag to compare
  • Typing enhanced.

3.4.1

28 Aug 15:31
Compare
Choose a tag to compare
  • Makes module possible to be built in older XCode version #650.
  • Makes iOS getSubscriptions return subscriptions that only received ids #654
  • Method to retrive pending transaction #663
  • Fixed missing autoRenewingAndroid key #670

3.3.2

18 Jul 05:30
Compare
Choose a tag to compare
  • [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 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 to consumePurchaseAndroid and acknowledgePurchaseAndroid).
    • Deprecates using requestPurchase without setting andDangerouslyFinishTransactionAutomatically to false on iOS. This will default to false in a future major release.
    • Sends any unfinished (iOS), unconsumed or unacknowledged (Android) purchases directly when the first purchaseUpdatedListener is 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 ios under target 12.2.
  • [3.2.0]
    • Support acknowledgePurchaseAndroid for breaking changes in android billing client 2.0+.
  • [3.1.2]
    • Remove getOrderId from PurchaseHistory #554
  • [3.1.1]
    • Fix transanctionId in onPurchaseUpdated in android #552
  • [3.1.0]
    • Androidx migration #550
    • Upgrade example project to react-native@0.60.0-rc.2
  • [3.0.2]
    • Support acknowledgePurchaseAndroid for breaking changes in android billing client 2.0+.
  • [3.0.1]
  • [3.0.0]
    • Major migration and breaking changes done in #510
    • Fixes crashing when requestPurchase in android #512
    • Fix minor typing #514
    • Add purchaseErrorListner to subscribe purchase error. ios warning fixed. Typings added. #517
    • Resolve #315 by safely wrap promises with ObjectAlreadyConsumedException.
    • Fixed typo in purchaseErrorListener.
    • Fixed missing import for ObjectAlreadyConsumedException.
    • Update podspec to match the version.
    • Improved handling of receipts #521
    • Fixes for #530
    • Make ensureConnection always provide a valid BillingClient [#539](#539

2.5.5

09 Jun 12:36
Compare
Choose a tag to compare
  • Fix flow type #482
  • Ugrade gradle to 3.2.1 #488
  • Fix gradle api usage #489
  • Fix promo code purchase not being restored #490
  • Fix Platform Specific Type Definitions #493
  • Add ios target for tvOS #500

2.4.0

12 Feb 04:43
Compare
Choose a tag to compare
  • 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-native 0.58.
  • Fix issue with promoted product event not firing on older devices #390.
  • Add support for iOS In-App Purchase promotions.

wjl0ak0fgj

2.3.23

04 Dec 11:00
Compare
Choose a tag to compare
  • Fixed npe when getAvailablePurcase in android.
  • Additional catch for npe.
  • Resolve true rather than null 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 for buySubscription.
  • Fixed transactionReceipt field in android.
  • 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

16 Sep 13:12
Compare
Choose a tag to compare

Major release.