iaphub / react-native-iaphub

The easiest way to implement IAP (In-app purchase) in your React Native app.
https://www.iaphub.com/
MIT License
319 stars 22 forks source link

How to redeem code on both iOS and android #117

Closed novellizator closed 2 years ago

novellizator commented 2 years ago

So I found there is this await Iaphub.presentCodeRedemptionSheet(); for iOS only. But what if I have a subscription for both ios and android and want to allow to redeem the code ?

iaphub commented 2 years ago

Hi @novellizator,

Android doesn't work like iOS, there is no method to open a promo code modal like iOS. You can find the different options to enter a promo code on their documentation: https://developer.android.com/google/play/billing/promo#redeem