tobydeh / nativescript-download-progress

Download large files in Nativescript with progress events
Apache License 2.0
11 stars 16 forks source link

no headers support #8

Closed acharyaks90 closed 5 years ago

acharyaks90 commented 5 years ago

no headers support in request method downloadFile(url: string, destinationFilePath?: string) have only url and path

aaayushsingh commented 5 years ago

for anyone else coming here, you can use this for now

https://github.com/aaayushsingh/nativescript-download-progress

do tns plugin add https://github.com/aaayushsingh/nativescript-download-progress

I will create a PR for this to be added in the main lib. I just need to make sure it doesn't break anything for people upgrading from older version.

tobydeh commented 5 years ago

@aaayushsingh thanks, fire a PR over when you get the chance and I'll merge it in.

aaayushsingh commented 5 years ago

@tobydeh please test and merge PR #10