Skip to content

Enable transaction file sharing#451

Merged
MiSikora merged 4 commits into
developfrom
file-sharing
Sep 17, 2020
Merged

Enable transaction file sharing#451
MiSikora merged 4 commits into
developfrom
file-sharing

Conversation

@MiSikora

Copy link
Copy Markdown
Contributor

📷 Screenshots

Screenshot_20200916-123520

📄 Context

There is an issue - #404.

📝 Changes

I added a way to share a single transaction as a file. I also refactored sharing flow. ShareUtils are removed in favour of Sharable interface that is responsible for creating shared content that can be written to a file or wherever.

Tests for sharing run now on Robolectric to use real resources instead of a mocked Context.

🚫 Breaking

No.

🛠️ How to test

Run the app and check sharing capabilities. Old ones should stay the same. Single file sharing should be available from transaction details.

⏱️ Next steps

Closes #404

@MiSikora MiSikora added the enhancement New feature or improvement to the library label Sep 16, 2020
@MiSikora MiSikora added this to the 3.3.0 milestone Sep 16, 2020
Comment thread library/src/main/java/com/chuckerteam/chucker/internal/support/Sharable.kt Outdated
This will allow to share binary data in the future.

@vbuberen vbuberen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@MiSikora MiSikora merged commit 9dfcde3 into develop Sep 17, 2020
@MiSikora MiSikora deleted the file-sharing branch September 17, 2020 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or improvement to the library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Share as file

2 participants