我正在使用react-native-in-app-utils来设置应用订阅付款,但是当我打电话时:
var products = [
'com.xyz.abc',
];
InAppUtils.loadProducts(products, (error, products) => {
//update store here.
});
我明白了:
MobileGestaltSupport.m:151: pid 180 (ScriptAgent) does not have sandbox access for and IS NOT appropriately entitled
答案 0 :(得分:0)
很可能您没有在Xcode项目中启用In-App Purchase
功能。
转到Signing & Capabilities
,单击+ Capability
,然后选择In-App Purchase
。