@qeepsake/expo-in-app-purchases
Advanced tools
Changelog
11.0.0 — 2021-08-10
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)getPurchaseHistoryAsync
and finishTransactionAsync
actually optional. (#13904 by @cruzach)