socketio-file-upload icon indicating copy to clipboard operation
socketio-file-upload copied to clipboard

Cordova app

Open nivoset opened this issue 10 years ago • 1 comments

has anyone gotten this to work with a cordova app/ionic? i am getting just a bunch of errors on it right now. lastly that "addEventListener is not a function" from var _listenTo = function (object, eventName, callback, bubble) { object.addEventListener(eventName, callback, bubble); _listenedReferences.push(arguments); }; i havent attached anything to it yet, ive just done the new instantiate of it.

"var uploader = new SocketIOFileUpload(socket);"

The second question is doing it without the document watcher if possible, not sure if i can just send a file location to it yet, but only will worry about then when it doesn't error i suppose.

Thank you

nivoset avatar Nov 24 '15 05:11 nivoset

Sorry, I'm a bit confused. What's the _listenTo function? Where's it being called from? What are the parameters coming into it? Is this an issue with SIOFU? Because those two code blocks seem to be unrelated 😕

MaffooBristol avatar Jul 08 '16 07:07 MaffooBristol