massivemadness / Squircle-CE

👨‍💻 Squircle CE is a fast and free multi-language code editor for Android
https://play.google.com/store/apps/details?id=com.blacksquircle.ui
Apache License 2.0
1.41k stars 104 forks source link

Support Storage Access Framework standard #70

Closed J4gQBqqR closed 2 years ago

J4gQBqqR commented 3 years ago

Is your feature request related to a problem? Please describe. A SAF support will be useful in the following situation:

  1. automatically sync code with cloud solution such as Nextcloud.
  2. open file with SFTP mounted SAF folder on a remote Linux server.

Describe the solution you'd like Be able to open file with SAF mounted storage.

Describe alternatives you've considered Be able to use SFTP to open file on a remote server.

Additional context Could refer to Nextcloud code for SAF implementation. Could refer to VLC code for SFTP implementation.

nikey02 commented 3 years ago

+1 for this also by adding SFA we can edit files from termux I'm excited about this please add SFA ASAP🥳

J4gQBqqR commented 3 years ago

Another place to find SAF implementation is the Aegis authenticator.

J4gQBqqR commented 3 years ago

Google is enforcing SAF as the only method to access shared storage in the future Android release.

KaKi87 commented 2 years ago

Hello, Any news on this ? Thanks

massivemadness commented 2 years ago

SFTP support was added in v2022.2.0 d3f08c39e8b6e2c3cd359368eb998d41ee9b6796 SAF will not be implemented

massivemadness commented 1 year ago

Added in v2023.1.2

john-peterson commented 1 month ago

gh search issues --json title,number -R massivemadness/Squircle-CE saf

SAF providers give EACCESS or No such file or directory

is saf supported at all. is this a bug or lack of feature

open file uses the saf dialogue but it seems like it's trying to convert all saf paths content://... to regular paths

Downloads/abc/abc.txt is nearly correct but missing subfolder

No such file or directory (/storage.../Downloads/abc.txt

content://org.app/tree/blabla/abc.txt translates to root folder? path conversion failed completely?

/: open failed EACCESS
KaKi87 commented 1 month ago

This app looks dead anyway