Just started to experiment with revmob. It was very simple and straightforward. I was able to get it working on the simulator and the ipad3 that I am testing it on.
However, during testing I noticed that the app would stutter (I would also describe it as the screen froze) when it would load a revmob ad. So, I wanted to test it with a low-internet connection and so I walked around the house until I was in this gray area of 1-bar to no bars on the wifi indicator on the ipad.
When the app starts up for the first time the screen stays on the splash screen for a while and then just quits. I am assuming it is quitting because the OS has determined that the app is taking too long to load.
If I am in airplane mode, the app has no problems loading (with no revmob ads, of course).
So I am guessing that it detects an internet connection, sends some sort of internet request and waits for a response. Here the whole app freezes, while it waits for the response from that internet request.
I know that lua operates in chunks and won’t update the screen until it has completed the code chunk, but I thought html requests were asynchronous? Or are only some requests asynchronous?
Also I would have tried looking through the revmob.lua code to attempt some troubleshooting, but I dare-say that the code is practically unreadable (no real formatting at all)
I was using revmob 3.0.2.
Is this fixable?
Is this a limitation of Corona/Lua?
Does someone have a better detailed explanation as to what is actually going on?
Thanks.
[import]uid: 94868 topic_id: 30019 reply_id: 330019[/import]