triniwiz / nativescript-downloader

Apache License 2.0
32 stars 18 forks source link

manager.setTimeout is not a function #43

Open hgc2002 opened 4 years ago

hgc2002 commented 4 years ago

My code: const Downloader = require('nativescript-downloader').Downloader; Downloader.init(); Downloader.setTimeout(60); <----- here is the error.

Before that, I had the issue that I was trying to call create on a non object, before manager is not really initialized in init(). I'm still having such error...

Basically I'm going to move to another downloader plugin or something because I have to release very soon. Nice job but either way.

My version info: Android 8.0 - API 26 tns: 6.2.2 tns-core-modules@6.3.1 tns-android: 6.2.0 nativescript-downloader@2.1.5

hgc2002 commented 4 years ago

workaround: use httpModule.getFile It's not exactly the same, but works.

sido420 commented 3 years ago

updates on this?

triniwiz commented 3 years ago

New version coming soon (I currently have several things in progress)

Sent from Yahoo Mail for iPhone

On Sunday, September 27, 2020, 9:39 PM, sido420 notifications@github.com wrote:

updates on this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.