triniwiz / nativescript-downloader

Apache License 2.0
32 stars 18 forks source link

downloader.start() does not work with iOS 14 and #47

Open mspusta78 opened 4 years ago

mspusta78 commented 4 years ago

running "tns-ios": { "version": "7.0.0-beta.3-v8-2020-06-20-121910-01" } and

"tns-core-modules": "6.6.0-next-2020-05-08-112112-01"

the downloader doesn't work

Fatal JavaScript exception - application has been terminated. NativeScript encountered a fatal error: Uncaught Error: -[NSInvocation getArgument:atIndex:]: NULL address argument at push.../node_modules/nativescript-downloader/downloader.js.NativePropertyReader.readProp(file: node_modules/nativescript-downloader/downloader.ios.js:247:0) at (file: node_modules/nativescript-downloader/downloader.ios.js:72:0) (CoreFoundation) Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught Error: -[NSInvocation getArgument:atIndex:]: NULL address argument at push.../node_modules/nativescript-downloader/downloader.js.NativePropertyReader.readProp(file: node_modules/nativescript-downloader/downloader.ios.js:247:0) at (file: node_modules/nativescript-downloader/downloader.ios.js:72:0) ', reason: '(null)' First throw call stack: ( 0 CoreFoundation 0x00007fff20434f16 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007fff2017454e objc_exception_throw + 48 2 NativeScript 0x0000000109e1b394 _ZN3tns21NativeScriptException15OnUncaughtErrorEN2v85LocalINS1_7MessageEEENS2_INS1_5ValueEEE + 882 3 NativeScript 0x000000010a248768 _ZN2v88internal14MessageHandler25ReportMessageNoExceptionsEPNS0_7IsolateEPKNS0_15MessageLocationENS0_6HandleINS0_6ObjectEEENS_5LocalINS_5ValueEEE + 344 4 NativeScript 0x000000010a2485c9 _ZN2v88internal14MessageHandler1

triniwiz commented 4 years ago

Interesting I'll run some tests