Thanks for your continuous help. I really appreciate it!
What you describe is very close to the workflow I made in my full game. The only difference is that the IDs are not added on the loading layout, but on the title screen layout (no possibility to make purchases on the title screen layout) and when request store listing is successful, I don't purchase a product but go to the shop layout (but I never reach the shop layout on iOS)
As a reminder, all the IAP system works wonder on Android, and I'm using the exact same code on iOS, so I really, really believe my events are correct (unless iOS and Android have different requirements event-wise, which I doubt).
Here is the assets & plugin list of my game :
AudioHelper (external plugin)
1 webfont (google font)
24 text objects
About 200 other objects
6 music (x2)
about 50 sounds (x2)
The only way for me to make "request store listing" successful in this code
is to delete all sounds and use C2 IAP. Even when I do so, it doesn't seem much reliable (sometimes it gets ne response at all)
If I wait 3 seconds between the "Add product IDs" and "request store listing", it doesn't change anything.
If I only delete SOME sounds, it gets no answer
If I create a first layout, wait 2 sec, then go to the layout of the above event sheet, it never gets a response, even when deleting all the sounds.
If I use Phonegap IAP, I get a response : FAILED. Every time (even when removing all sounds).
This just has no sense, I'm switching to another export method.
EDIT : just to be 100% sure I'll make a last test with exactly the workflow you propose, but I believe it will fail, too.
And FYI I opened a DTS incident on my Apple developer accoutn for this problem, here is Apple's reply :
"Let me first state that I do not support the implementation of the Construct 2 SDK. I do however, support the use of the iOS StoreKit API. As such, I can respond to the use of the StoreKit APIs and you will need to investigate how these API’s are implemented in the framework you are using. If this is not possible, then I will have to refer you to the developer of Construct 2 who in turn can contact me via a DTS incident."
So I don't think they can help either.