Quantcast
Channel: Questions in topic: "ios platform"
Viewing all articles
Browse latest Browse all 3714

Unity IAP: iOS always returning "Received 0 Products"

$
0
0
Hey all, I'm using Unity IAP for my app. I have a working Android & PC/Test implementation, but having a big issue on iOS. I've set up the IAP for my test app on iTunes Connect along with all the MetaData. My app is still in testing on TestFlight. Here's my basic code. I opted to use the androidIAP id for both android and iOS to save some headaches.: public u_iapManager() { Debug.Log("---IAP MANAGER STARTED---"); var builder = ConfigurationBuilder.Instance(StandardPurchasingModule.Instance()); builder.AddProduct(androidIAPID.ac_gp_noads.ToString(), ProductType.NonConsumable, new IDs { {androidIAPID.ac_gp_noads.ToString(), GooglePlay.Name}, {androidIAPID.ac_gp_noads.ToString(), AppleAppStore.Name} }); builder.AddProduct(androidIAPID.ac_gp_categorycredit.ToString(), ProductType.Consumable, new IDs { {androidIAPID.ac_gp_categorycredit.ToString(), GooglePlay.Name}, {androidIAPID.ac_gp_categorycredit.ToString(), AppleAppStore.Name} }); UnityPurchasing.Initialize(this, builder); } Do I need to be using a sandbox account if the app isn't approved yet?

Viewing all articles
Browse latest Browse all 3714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>