Open sojharo opened 7 years ago
I have started work on this and learnt apis of electron to open file chooser. It is for now opening universal file chooser, I am trying to make it specific to file type i.e. for image attachment, it should only show me images in folders, other files should be disabled for selection. This is under construction.
I have written the logic here to break the file into several parts and send it to desktop. It is under construction. The bits are going on other side I need to update whether the file was uploaded or not and also show that file on mobile as well.
I have worked on it. I had to reset the previous logic as it was crashing the application when big files were sent. I am now using memory to store bits of file before sending. This is under construction. It would be completed today.
As Whatsapp desktop allows attaching files on desktop during the chat which are then sent to mobile and mobile sends them to server. We would the similar work in this task.