According to your code, the only way that native.showAlert() is going to trigger is if the value of the variable “platform” does not match “Android”, “iPhone OS” or “simulator”. You say that it’s printing “iPhone OS” so you in theory should not get the alert. Humor me and change this line:
native.showAlert( "Notice", "In-app purchases are not supported on this system/device.", { "OK" } )
to:
native.showAlert( "Notice!!!", "In-app purchases are not supported on this device.", { "OK" } )
It’s just enough of a change to see if the alert in your screen shot is your’s or if it’s being generated by the system.
Now for the IPv6 issue… This is a generic message that Apple sends out every time an app crashes or doesn’t work when it starts up. They are assuming you’re using networking and that networking is only working over IPv4. You can always ask them for the console log to see what the real cause of your crash was.
Rob