Skip to content

Support more ways to store captured screenshots #17

@cmathew

Description

@cmathew

Is your feature request related to a problem? Please describe.
Simple file paths aren't compatible with the recommended Test Orchestrator setting of clearPackageData: true. Like the name suggests, this setting will clear out all data belonging to your app package. So to survive the TO purge we need storage solutions that are device-level.

Describe the solution you'd like
I've seen success with storing screenshots in the device-level Pictures directory, accessible via Android's Media API. Supporting outputting screenshots would solve the problem.

Describe alternatives you've considered

  • Ask users of this library to add logic that copies any screenshots into Media (e.g. Test Rule)
  • Is there also a Screenshot directory accessible via the Media API?
  • I know Android has a new screenshot API. I wonder where those captures end up getting stored?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions