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

Checking the available space when taking a photo from the camera #4421

Open
10 tasks
Aitorbp opened this issue Jun 11, 2024 · 0 comments
Open
10 tasks

Checking the available space when taking a photo from the camera #4421

Aitorbp opened this issue Jun 11, 2024 · 0 comments
Labels

Comments

@Aitorbp
Copy link
Collaborator

Aitorbp commented Jun 11, 2024

Is your feature request related to a problem? Please describe.
When we are going to upload a photo from the camera, before performing this operation the application checks if there is space on the device's sd-card (Device Explorer).

This check is done in the getUsableSpace() function, which compares the bytes available in this path with the bytes of the photo taken.

We really don't know exactly why this is being done in the code and the Scope Storage is not being used, which is where we think the logic should go.

The development to check the available space is in the following class: CheckAvailableSpaceTask.

It needs some research.

TASKS

  • Research (if needed)
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master
@JuancaG05 JuancaG05 changed the title [FEATURE REQUEST] Checking the available space when taking a photo from the camera Checking the available space when taking a photo from the camera Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants