No Feedback on iOS at all

Hi,

I use codeless api with a IAPButton and an IAPListener.

It’s working nice on android, but when I press the Button on IOS, just nothing happens - no feedback at all in the console - just nothing.

I use Unity 2019.2.8f1 and newest IAP, so its 1.23.0

Any ideas how to fix this?

Please show the results of your debugging. Is the On Successful Purchase event firing, but IAP is failing? How are you debugging, breakpoint debugging in XCode or using Debug.Log statements and monitoring the logs?

actually I use none of these - I have a small asset named “Log viewer” installed, so I can live see the unity log

Great! Please provide the log output when running on your phone. Specifically we are looking for log entries of the form “unityiap”. You’ll likely want to place Debug.Log statements in your code to confirm execution. https://discussions.unity.com/t/748729/14

Well I can see it fine there, but I can’t copy paste xD

So, I get:
Initializing UnityPurchasing via Codeless IAP
UnityIAP Version: 1.23.0
UnityIAP: Promo Interface available for 1 items

So actually like always (working fine on android, even with server side verification).

And that’s it, when I click the button on ios nothing happens.

[edit] well, it’s a bit crazy, I added a simple “debug.log(“hi”)” to the button, and now it’s working and I can buy the item, I don’t get it, now it’s also posting more output (what is great)[/edit]

debug.log(“hi”) would not be expected to compile because the capitalization is incorrect.

yea, you know what I mean, actually it’s an
Debug.Log("PurchaseProduct, buttonType: "+ buttonType);

but then it produces more output - it didnt before.

When you posted that code, my assumption was that you were likely using an older APK because the code would not be expected to compile. Spelling is critically important on the forum (and in your projects!)

ok sorry, btw, it’s working now

Yes, as you stated.