Due to my recent work for iOS I’ve noted that the plugin for IAP on this platform doesn’t have an “init”(event.name) event like android, so in order to load the products should I have to implement something like this?:
-- Initialize Apple IAP
store.init( transactionListener )
-- Perform steps to enable IAP, load products, etc.
timer.performWithDelay(200, function()
store.loadProducts( ... )
end)
Another doubt:
If at the time of executing the store.init( transactionListener )
the user does not have internet, will it be necessary to execute the same function later?