react-native native module for In App Purchase.
MIT License
Bot releases are hidden (Show)
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.1.0...10.1.1
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/11.0.0-rc.1...11.0.0-rc.2
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/11.0.0-beta.1...11.0.0-rc.1
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/11.0.0-alpha.7...11.0.0-beta.1
Published by andresesfm about 2 years ago
It now defaults to use Sk2 if available (iOS is > 15)
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/11.0.0-alpha.6...11.0.0-alpha.7
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.7...10.1.0
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.6...10.0.7
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.5...10.0.6
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.4...10.0.5
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.3...10.0.4
Published by andresesfm about 2 years ago
Same as 11.0.0-alpha.2
Published by andresesfm about 2 years ago
Same as 11.0.0-alpha.2
Published by andresesfm about 2 years ago
Same as 11.0.0-alpha.2 testing publishing
Published by andresesfm about 2 years ago
Same as 11.0.0-alpha.2, testing publishing to npm
Published by andresesfm about 2 years ago
Restored the ability to keep using older versions of iOS
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/11.0.0-alpha.1...11.0.0-alpha.2
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.2...10.0.3
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.1...10.0.2
Published by andresesfm about 2 years ago
Storekit 2 implementation. In order to activate, import and call storeKit2()
before calling initConnection()
Published by andresesfm about 2 years ago
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/10.0.0...10.0.1
Published by andresesfm about 2 years ago
You can't use default export to access method, you need to import it from the object import RNIap from 'react-native-iap';
-> import {getProducts} from 'react-native-iap';
The hook no longer export requestPurchase
and requestSubscription
, they should be import directly from import { requestPurchase } from 'react-native-iap';
purchaseHistories
and setPurchaseHistories
has been renamed to purchaseHistory
and setPurchaseHistory
to match the original methods
All the exposed methods are now taking an object of parameters, rather than named params. e.g. requestSubscription('com.example.sub', false)
-> requestSubscription({ sku: 'com.example.sub', andDangerouslyFinishTransactionAutomaticallyIOS: false })
requestPurchase
takes an array of Sku
for Android, and a single Sku
for iOS
Remove the InAppPurchase
type, which was already defined as ProductPurchase
IapError
has been renamed to PurchaseError
and is now extending an Error class. It can be used as follow:
try {
requestPurchase(...)
} catch (error) {
if (error instance PurchaseError) {
// error.code, error.message, error.productId, error.debugMessage
}
}
Full Changelog: https://github.com/dooboolab/react-native-iap/compare/9.0.4...10.0.0