abhi16180 / photon

Photon is a cross-platform file-transfer application built using flutter. It uses http to transfer files between devices. You can transfer files between any devices that run Photon.
https://photondev.netlify.app
GNU General Public License v3.0
481 stars 42 forks source link

loading time #115

Open laaj opened 9 months ago

laaj commented 9 months ago

its taking too much time to process or load big files in android. please fix it

abhi16180 commented 9 months ago

Hi @laaj I am aware of this issue. After android 10, we can't directly get the original file path unless we have full access to filesystem. I have already modified the file_picker library to get real path (it does not work for downloads folder and some other folders). Currently for some restricted folders mentioned before, it will temporarily create file and give temp path. So it will take some time to create a copy of that file. Android allows full access to file system, but currently there is no library which implements the same for flutter. It will take some time from my end to create new library from scratch.

laaj commented 9 months ago

Thanks for the detailed response. This is an amazing app with great transfer speed. I have a small suggestion that is to sent or transfer text between connected devices.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows


From: Abhilash Hegde @.> Sent: Friday, December 22, 2023 7:04:59 PM To: abhi16180/photon @.> Cc: laaj @.>; Mention @.> Subject: Re: [abhi16180/photon] loading time (Issue #115)

Hi @laajhttps://github.com/laaj I am aware of this issue. After android 10, we can't directly get the original file path unless we have full access to filesystem. I have already modified the file_picker library to get real path (it does not work for downloads folder and some other folders). Currently for some restricted folders mentioned before, it will temporarily create file and give temp path. So it will take some time to create a copy of that file. Android allows full access to file system, but currently there is no library which implements the same for flutter. It will take some time from my end to create new library from scratch.

— Reply to this email directly, view it on GitHubhttps://github.com/abhi16180/photon/issues/115#issuecomment-1867696004, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BE3NH6VB6XEA6RI6ZFJMIPLYKWEAHAVCNFSM6AAAAABA7QKEPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXGY4TMMBQGQ. You are receiving this because you were mentioned.Message ID: @.***>

abhi16180 commented 9 months ago

@laaj Thank you 😃. Yes I will keep this feature in mind for the next release of this app.

laaj commented 9 months ago

Thanks, Sir i have one more suggestion, please add a resume and pause function it will be very helpful in case of any error or connection failure. And we are waiting for the new release of this superb app.


From: Abhilash Hegde @.> Sent: Friday, December 22, 2023 10:52 PM To: abhi16180/photon @.> Cc: laaj @.>; Mention @.> Subject: Re: [abhi16180/photon] loading time (Issue #115)

@laajhttps://github.com/laaj Thank you 😃. Yes I will keep this feature in mind for the next release of this app.

— Reply to this email directly, view it on GitHubhttps://github.com/abhi16180/photon/issues/115#issuecomment-1867916980, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BE3NH6Q3TXMKIYYHHTGGINLYKW6UVAVCNFSM6AAAAABA7QKEPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRXHEYTMOJYGA. You are receiving this because you were mentioned.Message ID: @.***>