network.download stalls in 4G/LTE networks?

Hi,

 

Has anyone encountered issues with asynchronous download function “network.download()”? My app is downloading a zipped file about 7MB in size and the app just tends to stall midway through the download. But on a 3G the download process seems to be stable. 

 

It seems that the network.download() event listener almost always stuck at the “event.isError” condition in 4G/LTE network.

 

 

local function downloadShowZipListener( event )

    if ( event.isError ) then    

        native.showAlert(“Network Error”, “Download of app contents failed. Please try again.”, { “Ok” })

    elseif ( event.phase == “began” ) then

    . . .

Any help/comment in this issue will be greatly appreciated.

 

Regards,

Robin Ngoui