iaphub / react-native-iaphub

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

Iaphub.restore() are coming as undefined #28

Closed reberthkss closed 3 years ago

reberthkss commented 3 years ago

image image

iaphub commented 3 years ago

Hi @reberthkss,

It is normal, the restore method doesn't return any transaction.

reberthkss commented 3 years ago

@iaphub so i can just use Iaphub.getActiveSubscriptions() to handle previous transactions?

iaphub commented 3 years ago

Yes you could use getActiveSubscriptions if you need to check if a subscription has been restored. I'm closing the issue but feel free to reply if you're still having an issue.