How can I get download percentage?
kid1412621 opened this issue · 3 comments
kid1412621 commented
I've tried this :
document.addEventListener('DOWNLOADER_downloadProgress', function(event) {
let data = event.data
console.log('processing', data)
})
But I got nothing in console, could you give a demo?
Naseer-Ahmad commented
I've get it working by using this:
document.addEventListener('DOWNLOADER_downloadProgress', (event: any) => {
let data = event.data;
console.log(data);
})
also I've added all my event listeners in component constructor.
Nousheenk commented
@kid1412621
did you get the download progress even i am getting the same problem
kid1412621 commented
Sorry I forget. Our team drop off Cordova.
…On Fri, Mar 29, 2019, 14:19 Nousheenk ***@***.***> wrote:
@kid1412621 <https://github.com/kid1412621>
did you get the download progress even i am getting the same problem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZD4phXh0-CMUSivZgTI1Xf26reg3i68ks5vbbBcgaJpZM4W72u0>
.