Ammar64 / Sharing

Share files and apps on android to other devices using browser
GNU Affero General Public License v3.0
53 stars 3 forks source link

Fast share doesn't work #38

Closed tb06 closed 2 hours ago

tb06 commented 2 hours ago

Hello:

I tried to use the "Fast share" option but it doesn't work on remote side: I get an error NS_ERROR_NET_RESET. In fact the file seems to load only partially and the browser doesn't succeed in downloading it (I tried with Firefox and Brave under Ubuntu).

Here is what tells the developer's console of Firefox (sorry but I didn't find where to switch the console to english):

image

As you can see on the right, only the first quarter of the picture seems to be loaded before the error happens.

Version of the app that I use: 1.5

Thanks in advance !

Ammar64 commented 2 hours ago

Thank you for trying my app. The purpose of the FastShareActivity was to use share intent (like if you were in your gallary app you can open a photo & click share and you'll find the app there) the reason I made it is because Share Intent gives Uri and the app was only compatible with files paths.
But in version 1.5.2-beta2 I removed the FastShare option and did some extra work to make the app compatible with both file Uri and paths and you can now use the MainActivity for that purpose.

Ammar64 commented 2 hours ago

If you think that scanning a QR Code to immediately download a single file was a good idea as it was in FastShare. feel free to open a new issue.

Thanks for support!