Hi there!!
I’m having a bad time with native.showWebPopup(), maybe someone could help-me.
My app has a img/button to reload its default (and remote) URL. If the user keep tap the button and the webpopup still did not finish to load, it crashes (like a call to native.cancelWebPopup()). One workaround I found is disable the reload button a few seconds, it works sometimes, but not allways.
If someone has some tips in how to handle this, please, help.
Following is shown my reload code:
[lua]imgReload = display.newImage(“reload_icon.png”);
imgReload:setReferencePoint(display.centerReferencePoint);
imgReload.x = 25; imgReload.y = 26;
imgReload:addEventListener(“tap”, function()
native.cancelWebPopup();
native.showWebPopup(0, 50, display.contentWidth, (display.contentHeight - 50), txtUrl);
end);[/lua] [import]uid: 50425 topic_id: 10876 reply_id: 310876[/import]