react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

Getting empty products

Open puneetkansal04 opened this issue 2 years ago • 7 comments

const productIds = ['plan149];

RNIap.initConnection().then(output=>{ console.log('output',output) RNIap.getProducts({skus:productIds}).then(productName=>{ console.log('productName',productName) })

    });

I am using this function and app products also ready to submit state. As I am adding productIds array it is giving me empty array in the IOS. As I am not using this for android right now. But it is not working in App Store.

puneetkansal04 avatar May 30 '23 13:05 puneetkansal04

@andresesfm Hi Andres Can you help in this if you can check it with the latest Version "react-native-iap": "^12.10.5", react-native:0.64

as I am using and getting products array as empty in the IOS.

puneetkansal04 avatar May 30 '23 13:05 puneetkansal04

Try sk2

andresesfm avatar May 31 '23 00:05 andresesfm

Hi @andresesfm sk2 also not worked still getting an empty array.

Ist way As I used it like this RNIap.setup({ storekitMode: 'STOREKIT2_MODE' });

2nd way Also tried with React native upgrade "react": "17.0.2", "react-native": "0.65.1",

Still getting empty array

puneetkansal04 avatar May 31 '23 04:05 puneetkansal04

Faced the same problem today. Updating the version of react-native-iap didn't help.

AndreUskovMar avatar May 31 '23 16:05 AndreUskovMar

Please make sure that you accepted an agreement for paid apps here https://appstoreconnect.apple.com/agreements/#/ before getting products

zheoreh avatar Jun 07 '23 12:06 zheoreh

Please make sure that you accepted an agreement for paid apps here https://appstoreconnect.apple.com/agreements/#/ before getting products

@zheoreh does this includes having approved the tax forms information or only accepting the agreement?

MikeAlvarado avatar Aug 10 '23 09:08 MikeAlvarado

I see my project this problem :(

admdni avatar Sep 25 '23 23:09 admdni