Closed erfinbadrian closed 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.
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); }); }
Thank you
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.
[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