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

SocketIOFileUploadServer not accessible in mobile browser/ webview

Open pitambar opened this issue 10 years ago • 3 comments

i tried to connect socket in android, windows mobile browser , in which socket is connected but the SOFU , i using submit button event to upload files, which works well on web browser but not in mobiles, how to make it work with mobile as well, please suggest any solution to this

code snap for it:

appjs

index

pitambar avatar Jul 26 '14 13:07 pitambar

the code works in ios/iphone/ ipod how to get working it with android/windows webview, i tried this but no use "https://github.com/vote539/socketio-file-upload/commit/585e70452ee45538903dd1a0d52eb9847c24f292" .

the code selects the file on choose , but nothing happens on upload click, or should i use base64 to send data, as buffer type tranmition is not supported in older browser. kindly suggest

pitambar avatar Jul 28 '14 09:07 pitambar

if socket.io is working well on phones so the problem is from bad javascript code on client !

iraniamir avatar Sep 21 '16 21:09 iraniamir

I recommend googling around a bit for how people recommend doing file uploads from mobile. Once you figure something out, feel free to submit any fixes as a PR.

vote539 avatar Sep 22 '16 04:09 vote539