- 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
- @Sliokkory made their first contribution in hyochan#1679
- @fontesrp made their first contribution in hyochan#1678
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/8.0.7...8.0.8
- fix: clearProducts not resolving on iOS #1666
- 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
- @jeremybarbet made their first contribution in hyochan#1662
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/8.0.5...8.0.6
Fix NativeEventEmitter warnings
- Resolve #1496
Resolve #1637.
Reverts 8.0.2
Promise never resolved or rejected (#1634)
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)
- Add missing android type (#1619)
- Ignore yarn cache in npmignore (#1607)
- Fix missing isReadyAndroid method in iap.ts (#1604)
- Android 12 compability fix (#1586)
- Expose new
isReadyAndroidmethod (#1563)
- fix: android querySkuDetailsAsync ui thread (#1578)
- 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)
- Fix canceled purchase dangling #1504
- [iOS] Add
quantityIOSin purchase data #1476
- Now using React's Context to manage IAP state
- Introduce
withIAPContextHOC (how to use)
Breaking Change:Amazon's receipt was incorrectly being put in originalJson it now matches the other platforms: transactionReceipt #1461
Fix android crash by delaying ios check #1456
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
Breaking Change: Removed oldAndroidSku from requestSubscription. This field was passed for Android only
Remove init on main thread as it is no longer needed in this version of the SDK #1427.
Move init code to initConnection method in Amazon #1425
Fix Android subscription update #1423
Hotfix on getting skus on android #1414
Update gradle plugin to 4.2.2 #1410
Fix getPurchaseHistory for android #1411
Revert strict check for Amazon module #1407.
Migrate Androidto billing client 4.0.0.
- TODO
- Include
getQuantityAndroidfunction to add getQuantity api.
- Include
Removed setInstallSource and updated docs #1401.
[iOS]
- Remove an unnecessary reject when canceling by user #1389
- Update type to match new
iOSreceipt style #1402
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
[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)
Fix an unnecessary error when canceling a purchase #1385.
Fix java lint errors and add CI #1380
Clean up internal code that detects GooglePlay vs Amazon modules#1374
Fix wrong package.json setup #1377
- Removed docs from built
package.
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
- [Android] Handle deffered proration in
purchaseUpdatedlistener #1357
- [Amazon] Fire tv detection #1356
- Strict type error [Enhance] Strict type error #1324
- HotFix - Android build #1328
- [Android] Update deps, fix permissions on graddle wrapper #1323
- [Amazon] Add promise handling for Amazon purchases instead of resolving immediately 1302
- Add force refresh receipt for ios #1303
- Add
introductoryPriceAsAmountAndroid#1277
- React Naitve IAP hook is out. Follow the medium post on how to use it.
- Remove IAPPromotionObserver for manual installation process #1267.
- Fixed android receipt validation url #1262.
- Rebuild again incase of missing pre-build.
- Fixed fetch requestheader #1258.
- Added more fields to android receipt type.
- Reduce size of import by removing prev packs.
- Support android receipt type
AndroidReceiptTypeinstead of only json.
- HotFix -
getProductsreturns fetched products only. Previously it returned both.
- Fixes build issue #1238
- Add sandbox agnostic receipt verification #1228
- Fix tvos presentCodeRedemptionSheet not available #1237
- Fixed posible problem clearTransactionsIOS #1227
- Improving typescript types for iOS subscription #1219
- Fix(presentCodeRedemptionSheet): Xcode 11 compatibility #1218
- Patch clear transaction #1215
- Added presentCodeRedemptionSheetIOS #1201
- By @Bang9
- Fix that getPendingPurchasesIOS() may returns undefined #1199
- By @gki
- Fixed Amazon products prices parsing #1191
- Add introductory price as string without formating and currency #1182
- Add iOS store country code #1186
- Add type definition on
ProductPurchase.
- Expose more variables in
android#1171.
- Fix amazon buyItemByType missing parameters hyochan/pull/1149
- Renamed param to
purchaseTokenAndroidinrequestSubscriptionsince this is android only #1130 - Fix for 'RNIapModule.buyItemByType got 6 arguments, expected 7' #1132
- Upgrade android billing sdk to 3 #1112
developerIdAndroidandaccountIdAndroidparams are removed.
- 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
- Ability to know when a SKPaymentTransactionStateDeferred purchase update occurs #1080.
- Fix promise not resolving on
ios14#1064.
- Fix iap-promoted-product listener #1039
- Fix regresion in
4.4.10
- Upgrade packages and expose
ProductPurchasetype.
- Fixes #989.
- Fix regression. Revert
andDangerouslyFinishTransactionAutomaticallyIOSto false. This should actually be false in default.
andDangerouslyFinishTransactionAutomaticallyIOSwas set to true for default. I should be false.
- Implement
endConnectionmethod to declaratively finish observer in iOS. - Remove
addTransactionObserverin IAPPromotionObserver.m for dup observer problems. - Automatically startPromotionObserver in
initConnectionfor iOS. - Deprecate
endConnectionAndroid.
Add guide add IAPPromotionObserver in ios
- Bugfixes for #849.
- Attempt to fix #934.
- Upgrade packages.