chirag04 / react-native-in-app-utils

A react-native wrapper for handling in-app payments
MIT License
890 stars 185 forks source link

loadProducts #96

Closed jingoldby closed 7 years ago

jingoldby commented 7 years ago

Just wondering why we need to pass a first argument to loadProducts? Am I not just fetching my products listed in itunes connect?

Also, in the example it just passes the productId of one of the products in the store?

chirag04 commented 7 years ago

not all your products will be on sale, you maybe not want to load all products at once. that's the underlying api from apple. first arg is an array. so you can pass as many products you want to load.

jingoldby commented 7 years ago

@chirag04 ah ok i see! Thanks for making this!