Skip to content

Latest commit

 

History

History
97 lines (52 loc) · 4.75 KB

CHANGELOG.md

File metadata and controls

97 lines (52 loc) · 4.75 KB

Changelog

Unpublished

🛠 Breaking changes

🎉 New features

🐛 Bug fixes

💡 Others

12.1.0 — 2021-12-03

This version does not introduce any user-facing changes.

12.0.0 — 2021-09-28

🛠 Breaking changes

🐛 Bug fixes

  • Fix building errors from use_frameworks! in Podfile. (#14523 by @kudo)

💡 Others

  • Cache products on iOS when calling getProductsAsync, so that purchaseItemAsync no longer needs to make a second request to StoreKit. This matches the Android implementation. (#13961 by @cruzach)
  • Extract getPurchaseHistoryAsync embedded parameter type to IAPPurchaseHistoryOptions type. (#14217 by @Simek)
  • Use correct enum types instead of more general number in few type definitions. (#14217 by @Simek)

11.0.0 — 2021-08-10

🛠 Breaking changes

  • purchaseItemAsync no longer accepts the old SKU as the second (optional) argument. Instead, this method now accepts the purchaseToken of the purchase you are replacing as the second argument. You can get this value via getPurchaseHistoryAsync. This change only affects Android. (#13884 by @cruzach)
  • getPurchaseHistoryAsync no longer accepts a boolean parameter. Instead, it accepts an object containing the key useGooglePlayCache. useGooglePlayCache functions similarly to the the previous refresh parameter, except it is clearer in naming. If you had refresh as false, you should pass useGooglePlayCache: true. If refresh was true, you should pass useGooglePlayCache: false. Please see the docs for more information. (#13942 by @cruzach)

🐛 Bug fixes

  • Made the arguments that were labeled as 'optional' on iOS for getPurchaseHistoryAsync and finishTransactionAsync actually optional. (#13904 by @cruzach)

💡 Others

10.2.0 — 2021-06-16

🐛 Bug fixes

💡 Others

  • Build Android code using Java 8 to fix Android instrumented test build error. (#12939 by @kudo)

10.1.1 — 2021-03-10

🐛 Bug fixes

  • Remove peerDependencies and unimodulePeerDependencies from Expo modules. (#11980 by @brentvatne)

10.1.0 — 2021-02-02

🎉 New features

  • Map more iOS error codes to JS/TS error codes (#11773) by @danmaas
  • Add defensive null checks so that bugs in the Android payments API do not cause crashes (#11773) by @danmaas
  • Updated Android build configuration to target Android 11 (added support for Android SDK 30). (#11647 by @bbarthec)

10.0.0 — 2021-01-15

🛠 Breaking changes

9.1.0 — 2020-09-21

🐛 Bug fixes

  • errorCodeNativeToJS now returns 0 by default. This fixes a build error that would occur on Xcode 12. (#10224 by @nabettu)

9.0.0 — 2020-08-18

🛠 Breaking changes

  • Calling connectAsync no longer queries the purchase history. This way, on iOS, the user is not prompted to log into their Apple ID until getPurchaseHistoryAsync is called. Thanks to @sergeichestakov for implementing this in #8577.

8.2.1 — 2020-05-29

This version does not introduce any user-facing changes.

8.2.0 — 2020-05-27

This version does not introduce any user-facing changes.