The most irritating thing about this error, is that there’s no recovery!
Once I get the ‘adReceived’ message in my listener I believe it is ok to display it.
I think I will move the listener call after the images are inserted to the group. This way, in case of an error, user will simply not see any full screen ads [which in the end will make him happy rather than angry because he can’t close the damn ad].
EDIT:
Just a followup.
In order to get rid of this issue I have modified revmob.lua in a following way:
[lines ~ 606-608]
From:
[lua]
n.release(“Fullscreen loaded”)if e.listener~=nil then e.listener({type=o.AD_RECEIVED,ad=i})end
e.component:insert(1,e.image)
e.component:insert(2,e.closeButtonImage)
[/lua]
To:
[lua]
n.release(“Fullscreen loaded”)
e.component:insert(1,e.image)
e.component:insert(2,e.closeButtonImage)
if e.listener~=nil then e.listener({type=o.AD_RECEIVED,ad=i})end
[/lua]
This way, when this error happens, my user will simply not see the ad, instead of getting the ad without close button. [import]uid: 109453 topic_id: 36778 reply_id: 145386[/import]