react-native-iap

react-native native module for In App Purchase.

MIT License

Downloads
202.5K
Stars
2.7K
Committers
232

Bot releases are hidden (Show)

react-native-iap - 5.2.11

Published by hyochan over 3 years ago

5.2.11

  • Fixed fetch requestheader #1258.

5.2.10

  • Added more fields to the android receipt type.

5.2.9

  • Reduced the size of imports by removing prev packs.

5.2.8

  • Support android receipt type AndroidReceiptType instead of the only JSON.
react-native-iap - 5.2.7

Published by hyochan over 3 years ago

  • HotFix - getProducts returns fetched products only. Previously it returned both.
react-native-iap - 5.2.6

Published by hyochan over 3 years ago

  • Fixes regression issue in iOS not getting all params #1245. Related #1203.

5.2.5

  • Fixes build issue #1238

5.2.4

  • Add sandbox agnostic receipt verification #1228
  • Fix tvos presentCodeRedemptionSheet not available #1237

5.2.3

  • Fixed posible problem clearTransactionsIOS #1227

5.2.2

  • Improving typescript types for iOS subscription #1219
  • Fix(presentCodeRedemptionSheet): Xcode 11 compatibility #1218

5.2.1

  • Patch clear transaction #1215
react-native-iap - 5.2.0

Published by hyochan almost 4 years ago

  • [5.2.0]

    • Added presentCodeRedemptionSheetIOS #1201
    • Fix that getPendingPurchasesIOS() may returns undefined #1199
  • [5.1.3]

    • Fixed Amazon products prices parsing #1191
  • [5.1.2]

    • Add introductory price as string without formating and currency #1182
    • Add iOS store country code #1186
  • [5.1.1]

    • Add type definition on ProductPurchase.
  • [5.1.0]

    • Expose more variables in android #1171.
  • [5.0.1]

    • Fix amazon buyItemByType missing parameters dooboolab/react-native-iap/pull/1149
react-native-iap - 5.0.0

Published by hyochan about 4 years ago

  • Support Amazon IAP feature#1134
  • Fixes on missing [userId] and [profileId] on android #1141
react-native-iap - 4.6.3

Published by hyochan about 4 years ago

  • Renamed param to purchaseTokenAndroid in requestSubscription since this is android only #1130
  • Fix for 'RNIapModule.buyItemByType got 6 arguments, expected 7' #1132
react-native-iap - 4.6.2

Published by hyochan about 4 years ago

  • [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.
react-native-iap - 4.5.4

Published by hyochan about 4 years ago

  • [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.
react-native-iap - 4.4.4

Published by hyochan over 4 years ago

  • [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.
react-native-iap - 4.3.0

Published by hyochan almost 5 years ago

[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
react-native-iap - 4.0.3

Published by hyochan about 5 years ago

  • [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.
react-native-iap - 3.4.11

Published by hyochan about 5 years ago

  • [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]
  • [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
react-native-iap - 3.4.4

Published by hyochan about 5 years ago

  • Typing enhanced.
react-native-iap - 3.4.1

Published by hyochan about 5 years ago

  • 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
react-native-iap - 3.3.2

Published by hyochan over 5 years ago

  • [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]
  • [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](https://github.com/dooboolab/react-native-iap/pull/539
react-native-iap - 2.5.5

Published by hyochan over 5 years ago

  • 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
react-native-iap - 2.4.0

Published by hyochan over 5 years ago

  • 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

react-native-iap - 2.3.23

Published by hyochan almost 6 years ago

  • 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.
react-native-iap - 2.2.0

Published by hyochan about 6 years ago

Major release.

react-native-iap - 1.2.4

Published by hyochan over 6 years ago

It's been working quite well these days.
Backup for now.

Package Rankings
Top 1.33% on Npmjs.org
Badges
Extracted from project README
Version Next Version Download Backers and Sponsors FOSSA Status FOSSA Status
Related Projects