Closed NarekChang closed 6 years ago
That's my fault. You need point purchases id's. I'm pointed my app id 👍
InAppUtils.loadProducts(['purchasId1', 'purchasId2'], (err, products) => {
console.log(err);
console.log(products);
});
Thanks @NarekChang
I think that is confused. In the examples the identifiers
it looks like the bundle identifier
.
Thanks for clarification.
I am Confused, What the problem with identifiers ? @
@13ArturBruno Nothing now
I have a problem.
I can not return the products I added to my app on apple connect, I use the same productId from there, and even then the return comes empty. can you help me ?:
hi @13ArturBruno,
are you follow this threads?
https://developer.apple.com/library/archive/technotes/tn2259/_index.html
@13ArturBruno Do you can show ur code?
@jose920405 yes, i follow this steps..
@NarekChang
i load product with
const identifiers = [
'br.com.myapp.premium',
];
InAppUtils.loadProducts(identifiers, (error, products) => {
console.log(products);
});
My app was rejected, can I still use the products on it?
@13ArturBruno
I'm not sure about Apple's handling of rejected applications when talking about subscriptions. But it would not make sense that somehow this functionality is affected.
Let's review the following points:
1) 'br.com.myapp.premium', -> You have clear that this string is the product ID
from the subscription and not the bundle identifier?
2) Your subscritions status is in Ready to Submit
?.
3) Are you logged correctly in your real device with the Sandbox Tester Account?
4) Are you enable in-app purchase
inside Capabilities
tab?.
5) are you verified the response from canMakePayments
?
I added library in my xcode project and installed npm module and created puchases in iTunes Connect, but LoadProducts return only empty array. What am I doing wrong? Did I miss something? I'm used simulator and real device for build testing.