firescript / nativescript-contacts

A nativescript module that gives access to the native contact directory.
MIT License
28 stars 32 forks source link

Console.dump deprecated in NativeScript 3.0 #35

Closed ugocast closed 6 years ago

ugocast commented 7 years ago

console.dump has been deprecated from NativeScript 3.0 in favor of console.dir, you can fix this? i have the next error :

file:///app/tns_modules/nativescript-contacts/index.js:83:25: JS ERROR TypeError: console.dump is not a function. (In 'console.dump(e)', 'console.dump' is undefined)

Thanks!

Sharique-Hasan commented 6 years ago

@firescript Can you please look into this. I am also seeing this error.

rolaru commented 6 years ago

+1 here. This is making the app crash.

firescript commented 6 years ago

alright this is working in a fresh nativescript app running 3.2.1 - want to confirm? @Sharique-Hasan @rolaru @ugocast - pushed the update to npm

rolaru commented 6 years ago

@firescript, sorry for responding late. I've tested the plugin now and it seems to work fine. Thanks a lot for the fix!