8000 Review file access strategy · Issue #1692 · akvo/akvo-flow-mobile · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Review file access strategy #1692
Open
Open
@valllllll2000

Description

@valllllll2000

Currently we target api 29 in both flow and caddisfly apps. We need to update to target api 30 soon as eventually new/existing apps will only be admitted on play store if they target 30.
There was already an issue on Caddisfly akvo/akvo-caddisfly#254 which was solved by using this temporary flag which has been also added to flow.
Problematic areas:

  • Caddisfly images
  • Taking a video (error while deleting the copy)
  • akvoflow/inbox folder -> loading zip file no longer works, we need to see how to handle those files from now on:
    the "open with" option or go to flow and manually "browse file".
  • published files

The idea behind this change by Google is apps do not have access to file system but only to their dedicated app folders. Those folders cannot be browsed by other apps.
Placing the form zip file in the public folder is the problematic one because we need to find a different way to handle that. There is still a possibility to have access to the whole external storage but we need to add instructions at the start of the app so users allow this permission (see https://developer.android.com/preview/privacy/storage#all-files-access). As much as possible for security reasons, I think we should avoid that solution as we don't really need access to the whole filesystem of the device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0