socketio-file-upload
socketio-file-upload copied to clipboard
SocketIOFileUploadServer not accessible in mobile browser/ webview
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:
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
if socket.io is working well on phones so the problem is from bad javascript code on client !
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.