I'm trying to implement in-app purchase with ejecta. It's really going smooth but I have the following problem. Here is my case:

If the device isn't connected to the internet, you get an error message to your callback function if you want to buy product from app store ==> product.purchase(1,callback)
where
callback : function (error,transaction);

So it's fine.

However, if you just want to get the product informations,

IAPManager.getProducts(products,callback);

You get no error, nor a timeout. So if you block your program (with a state machine tc..), it stucks there forever.

I just wrote a window.timeout function with some hacks to implement that behavior.

Question is, am I missing something? Or is this somehow an intended behaviour?