Skip to content

Latest commit

 

History

History
447 lines (252 loc) · 15.3 KB

CHANGELOG.md

File metadata and controls

447 lines (252 loc) · 15.3 KB

Changelogs

8.0.8

What's Changed

  • Crash in the absence of the Internet on the device by @Sliokkory in hyochan#1679
  • fix: minimum version for tvOS by @fontesrp in hyochan#1678

New Contributors

Full Changelog: https://github.com/dooboolab/react-native-iap/compare/8.0.7...8.0.8

8.0.7

  • fix: clearProducts not resolving on iOS #1666

8.0.6

  • add kotlin linter by @andresesfm in hyochan#1652
  • Fixes finishTransaction not resolving for iOS by @andresesfm in hyochan#1665
  • fix: apply handlers to method by @jeremybarbet in hyochan#1662

New Contributors

  • @jeremybarbet made their first contribution in hyochan#1662

Full Changelog: https://github.com/dooboolab/react-native-iap/compare/8.0.5...8.0.6

8.0.5

Fix NativeEventEmitter warnings

  • Resolve #1496

8.0.4

Hot Fixes

Resolve #1637.

8.0.3

Reverts 8.0.2

8.0.1

Bug Fixes

Promise never resolved or rejected (#1634)

8.0.0

Migration to Kotlin from Java Migration to swift from ObjectiveC Fixed Amazon getProducts being called twice Implemented fix for Promoted product on iOS Removed Java style plugin Updated example app to RN 0.65 Removes redundant builds on multiple similar java versions [11,11.0.3] Allows for configuration of kotlinVersion reading it from the rootProject just like the other versions, including default to 1.5.10 (Fixes Incompatibility with react-native-pager-view: Kotlin version issue #1598) Adds missing introductoryPriceAsAmountAndroid to typescript (same as add missing android type #1619)

7.5.6

  • Add missing android type (#1619)

7.5.5

  • Ignore yarn cache in npmignore (#1607)

7.5.4

  • Fix missing isReadyAndroid method in iap.ts (#1604)
  • Android 12 compability fix (#1586)

7.5.3

  • Expose new isReadyAndroid method (#1563)

7.5.2

  • fix: android querySkuDetailsAsync ui thread (#1578)

7.5.1

  • Refresh SkuDetails (#1566)
  • fix: NativeEventEmitter warnings since ReactNative 0.65 (#1544)
  • Using TCK Tested JDK builds of OpenJDK (#1525)
  • Add missing types for finishTransaction within useIAP() (#1533)

7.5.0

Bugfix

  • Fix canceled purchase dangling #1504

Dependencies

  • Set default androidX version #1505
  • Update packages #1506

7.4.1

  • [iOS] Add quantityIOS in purchase data #1476

7.4.0

  • Now using React's Context to manage IAP state
  • Introduce withIAPContext HOC (how to use)

7.3.0

Breaking Change:Amazon's receipt was incorrectly being put in originalJson it now matches the other platforms: transactionReceipt #1461

7.2.1

Fix android crash by delaying ios check #1456

7.2.0

Moved Amazon readme to the docs folder

Separated "Support us" doc to it's own file for better visibility

Breaking Change: removed deprecated method: consumeAllItemsAndroid , alternative flushFailedPurchasesCachedAsPendingAndroid has been available for a while. Also removed refreshItems from android native modules since they were only used by this deprecated method

Breaking Change: Methods that are suffixed by Android or iOS will now fail if called in the wrong platform instead of returnning a default value.

Breaking Change: Removed finishTransactionIOS , consumePurchaseAndroid and acknowledgePurchaseAndroid. They have been replaced by ``finishTransaction` since version 4.1.0

Breaking Change: (Only if you were using the native iOS module directly) iOS Native Method canMakePayments was renamed to initConnection to match the other platforms.

Resolve to false when playservices not available #1447

Fix crash on android request Purchase #1452

Added monolinter and fixed inconsistent dependency versions #1444

7.1.0

Breaking Change: Removed oldAndroidSku from requestSubscription. This field was passed for Android only

7.0.5

Remove init on main thread as it is no longer needed in this version of the SDK #1427.

7.0.4

Move init code to initConnection method in Amazon #1425

Fix Android subscription update #1423

7.0.3

Hotfix on getting skus on android #1414

7.0.2

Update gradle plugin to 4.2.2 #1410

Fix getPurchaseHistory for android #1411

7.0.1

Revert strict check for Amazon module #1407.

7.0.0

Migrate Androidto billing client 4.0.0.

  • TODO
    • Include getQuantityAndroid function to add getQuantity api.

Removed setInstallSource and updated docs #1401.

[iOS]

  • Remove an unnecessary reject when canceling by user #1389
  • Update type to match new iOS receipt style #1402

6.3.0

Refactors Google Play Java code limiting to a single billingClient. This can be considered a breaking change as it will fail when attempting to initialize the library more than once. It also adds documentation on the proper handling of the lifecycle docs

6.2.4

[Feature]

  • Implement deeplinking to subscriptins for Android (#1394)
  • Implement requested client-side validation for amazon purchases (#1392)

[Regression]

  • Fix regression on return type (#1393)
  • Fix promise resolving logic #1390

[Documentation]

  • Adds documentation to Android deferred proration (#1387)
  • Update URL in package.json (#1386)

6.2.3

Fix an unnecessary error when canceling a purchase #1385.

6.2.2

Fix java lint errors and add CI #1380

6.2.1

Clean up internal code that detects GooglePlay vs Amazon modules#1374

Fix wrong package.json setup #1377

  • Removed docs from built package.

6.2.0

Spliting Android app stores into Google Play and Amazon. They can now be accessed through different flavors #1358

Creates two variants: play and amazon and only uses the required code.

NOTE: This would be a breaking change with a very simple fix described in the documentation. To add: missingDimensionStrategy 'store', 'play' in build.gradle

6.0.8

  • [Android] Handle deffered proration in purchaseUpdated listener #1357

6.0.7

  • [Amazon] Fire tv detection #1356

6.0.6

  • Strict type error [Enhance] Strict type error #1324

6.0.5

  • HotFix - Android build #1328

6.0.4

  • [Android] Update deps, fix permissions on graddle wrapper #1323
  • [Amazon] Add promise handling for Amazon purchases instead of resolving immediately 1302

6.0.3

  • Add force refresh receipt for ios #1303

6.0.2

6.0.1

  • Add introductoryPriceAsAmountAndroid #1277

6.0.0

5.2.14

  • Remove IAPPromotionObserver for manual installation process #1267.

5.2.13

  • Fixed android receipt validation url #1262.

5.2.12

  • Rebuild again incase of missing pre-build.

5.2.11

  • Fixed fetch requestheader #1258.

5.2.10

  • Added more fields to android receipt type.

5.2.9

  • Reduce size of import by removing prev packs.

5.2.8

  • Support android receipt type AndroidReceiptType instead of only json.

5.2.7

  • HotFix - getProducts returns fetched products only. Previously it returned both.

5.2.6

  • 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

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

5.0.0

  • Support Amazon IAP feature#1134
  • Fixes on missing [userId] and [profileId] on android #1141

4.6.3

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

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

  • 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

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