Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Storage Access Framework #503

Open
11 tasks
mikeskydev opened this issue Aug 21, 2023 · 0 comments · Fixed by #563
Open
11 tasks

[Android] Storage Access Framework #503

mikeskydev opened this issue Aug 21, 2023 · 0 comments · Fixed by #563
Labels
QoL Can we improve something about the app?

Comments

@mikeskydev
Copy link
Member

mikeskydev commented Aug 21, 2023

Meta-issue to track requirements for the new storage mechanisms needed for Storage Access Framework (SAF).

We currently use MANAGE_EXTERNAL_STORAGE permission, but this is discouraged by Google for anything other than file manager apps.

Use cases:

  • Initial population of user data into target folder
  • Migration of existing user data to new target folder
  • Saving a Sketch
  • Loading a Sketch
  • Loading Images/Models/Videos
  • Saving preferences
  • Taking Snapshot/Video

Interaction points:

  • Sketchbook panel
  • Save camera
  • Local Media Panel
  • Camera tool

Current plan is to use /sdcard/Documents/Open Brush. Writing is fine here, but SAF needed for read if files are altered externally by user, or app is reinstalled.

Bonus points: can use SAF to access other app's folders in the Documents folder if it's a known location!

User additionally has the option to choose a different folder, so we need to store the chosen path. However, we can 'direct' them to select the correct directory by opening straight to it in SAF.

@mikeskydev mikeskydev added this to the 3.0 milestone Aug 31, 2023
@mikeskydev mikeskydev reopened this Nov 24, 2023
@mikeskydev mikeskydev modified the milestones: 3.0, Future Roadmap Nov 24, 2023
@mikeskydev mikeskydev changed the title [Android] new file permissions flow testing [Android] Storage Access Framework Dec 1, 2023
@mikeskydev mikeskydev added the feature request Request to alter functionality label Dec 1, 2023
@mikeskydev mikeskydev added QoL Can we improve something about the app? and removed feature request Request to alter functionality labels Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QoL Can we improve something about the app?
Projects
1 participant