react-native native module for In App Purchase.
MIT License
Bot releases are hidden (Show)
Published by hyochan over 6 years ago
Major release.
Published by hyochan over 6 years ago
Last migration for renaming methods without any deprecation warnings.
Published by hyochan over 6 years ago
types support for typescript users.
Edited refreshAllItems function for android to return json array like in ios.
Published by hyochan over 6 years ago
The Breaking Changes
from version 0.1.*
is that you have prepare()
method deprecated which you should call before using RNIap
methods. Now you have to call prepareAndroid()
instead just to know that it is just android dependent method. Also to import module, previously in 0.1.*
you only had to do import RNIap from 'react-native-iap'
but now you have to do like import * as RNIap from 'react-native-iap'
.
For new method, refreshAllItems has been implemented for both ios and android. This feature will support senario for non-consumable products.