Skip to content

Releases: hyochan/react-native-iap

4.6.2

25 Sep 12:42
Compare
Choose a tag to compare
  • [4.6.2]

    • Fix compatibility issue in android with detox #1124
    • Fix changing subscription on android #1129
  • [4.6.1]

    • Fix xcode 12 compatibility #1115
    • Prevent unsupported ops crashing in android #1116
  • [4.6.0]

    • Upgrade android billing sdk to 3 #1112
      • developerIdAndroid and accountIdAndroid params are removed.

4.5.4

14 Sep 14:21
Compare
Choose a tag to compare
  • [4.5.4]

    • Fix & avoid blindly consuming success purchases #1085
    • Allow specyfing string subtype for product ids #1089
    • Let user know which productId was the error about #1100
    • Be more specific in purchaseErrorListener param typing #1101
  • [4.5.3]

    • Ability to know when a SKPaymentTransactionStateDeferred purchase update occurs #1080.
  • [4.5.2]

    • Fix promise not resolving on ios14 #1064.
  • [4.5.0]

    • Fix iap-promoted-product listener #1039
  • [4.4.11]

    • Fix regresion in 4.4.10
  • [4.4.10]

    • Fix iOS discount issue #1038
    • Fix return type of getPromotedProductIOS #1037
  • [4.4.9]

    • Upgrade packages and expose ProductPurchase type.
  • [4.4.8]

  • [4.4.7]

    • Fix regression. Revert andDangerouslyFinishTransactionAutomaticallyIOS to false. This should actually be false in default.
  • [4.4.6]
    andDangerouslyFinishTransactionAutomaticallyIOS was set to true for default. I should be false.

  • [4.4.5]

    • Implement endConnection method to declaratively finish observer in iOS.
    • Remove addTransactionObserver in IAPPromotionObserver.m for dup observer problems.
    • Automatically startPromotionObserver in initConnection for iOS.
    • Deprecate endConnectionAndroid.

4.4.4

15 Apr 08:36
Compare
Choose a tag to compare
  • [4.4.4]
    Add guide add IAPPromotionObserver in ios

  • [4.4.3]

    • Bugfixes for #849.
  • [4.4.2]

    • Attempt to fix #934.
  • [4.4.1]

    • Upgrade packages.
  • [4.4.0]

    • Update requestionSubscription on android side.
    • The flow of the code were not clean and correct.
      • Support ProrationModesAndroid enum type for handling better proration mode
    • Fixes #888
    • PR #893
  • [4.3.4]

    • Fix double precision issue in java 885.
  • [4.3.3]

    • Fix purchaseStateAndroid. Resolve #839.
  • [4.3.1]

    • Pod file support for tvos.

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