iaphub / react-native-iaphub

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

Play store may be down #37

Closed erfinbadrian closed 3 years ago

erfinbadrian commented 3 years ago

[Error: The service is unreachable. This may be your internet connection, or the Play Store may be down.]

async initIapHUB() { IAPHub.init({ appId: '[]', apiKey: '[]', environment: 'production', }) .then(() => { IAPHub.setUserId(deviceId) .then(() => { IAPHub.getProductsForSale() .then((products) => { console.log(products); }) .catch(err => { console.log(err); }); }) .catch(err => { console.log(err); }); }) .catch(err => { console.log(err); }); } This is because i am using debug mode? Playstore is already login.

Thank you

erfinbadrian commented 3 years ago

Fixed this is because my phone not working i dont know why. but my other phone is working. So when you are finding this error maybe this because your phone.