1 decade ago by Patrick
I know I posted the Eject IAP problem yesterday and shouldn't post it again.
But I am extremely desperate -- today I tried something very simple -- stripped all codes so that whole program just has a main.js containing the IAP example with nothing else -- no entities, no Level* objects, nothing.
Of course I changed the IAP product name to match those in my iTunes Connect. That example ran and retrieved the product list, but after purchase() was called it crashed! I tried to remove the purchase() call and then it crash after retrieving the product list.
I guess there is an integration problem I seriously missed. But I couldn't think of anything, because the example looks very simple and what could I did wrong?
But I am extremely desperate -- today I tried something very simple -- stripped all codes so that whole program just has a main.js containing the IAP example with nothing else -- no entities, no Level* objects, nothing.
Of course I changed the IAP product name to match those in my iTunes Connect. That example ran and retrieved the product list, but after purchase() was called it crashed! I tried to remove the purchase() call and then it crash after retrieving the product list.
I guess there is an integration problem I seriously missed. But I couldn't think of anything, because the example looks very simple and what could I did wrong?