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

cannot download some types of attachments #1707

Open
tomholub opened this issue Jun 20, 2022 · 8 comments
Open

cannot download some types of attachments #1707

tomholub opened this issue Jun 20, 2022 · 8 comments
Assignees

Comments

@tomholub
Copy link
Collaborator

Theoretically, every possible type of attachment should be downloadable, since all the device has to do is decrypt it and save the file byte-for-byte. We should not have a situation when some attachments fail to download because of their type, but that's what happens today.

  1. go to Contacts app on Android, "manage", "export all". It produces a vcf file, like contacts.vcf
  2. use FlowCrypt for Android to send it to yourself encrypted
  3. open on iOS
  4. tap download

expected: file gets decrypted / saved to downloads

actual:

image

@tomholub tomholub added this to the 1.1.0 milestone Jun 20, 2022
@ioanmo226
Copy link
Collaborator

@tomholub I couldn't reproduce this issue. I tried to attach vcf file from various android devices (with flowcrypt android app) and tried to save in iOS app and it worked fine.
Could you tell me reproduce steps?

@tomholub
Copy link
Collaborator Author

The steps are as above, in more detail:

  1. go to Contacts app on Android, "manage", "export all". It produces a vcf file, like contacts.vcf
  2. use FlowCrypt for Android to send it to yourself encrypted
  3. open on iOS and notice the attachment on the bottom
  4. the contents of the file render as text in the "view attachment" screen
  5. tap download icon (a square with an arrow pointing down) which is on to right corner above the preview
  6. the above error shows on the bottom

device: iOS 13 Pro

@ioanmo226
Copy link
Collaborator

Hmmm...I tried exactly that step and it works fine in both simulator & device..

@ioanmo226
Copy link
Collaborator

Let me check more.

IMG_0169

@tomholub
Copy link
Collaborator Author

I don't get that far. As soon as I tapped the icon on top right, it shows error.

Could I have denied some permission earlier?

You could make an edit that would log more information in that situation. Maybe the whole stack. Then I could test it again.

@ioanmo226
Copy link
Collaborator

ioanmo226 commented Jun 21, 2022

What I did is exactly same like you.

  1. go to Contacts app on Android, "manage", "export all". It produces a vcf file, like contacts.vcf
  2. use FlowCrypt for Android to send it to yourself encrypted
  3. open on iOS and notice the attachment on the bottom
  4. the contents of the file render as text in the "view attachment" screen
  5. tap download icon (a square with an arrow pointing down) which is on to right corner above the preview
  6. Attachment Saved dialog (which asks user to if he wants to view file) appears.

Device: iPhone 7

@ioanmo226
Copy link
Collaborator

@tomholub Could you send me email which contains your contacts.vcf file from your android device (you may delete some sensitive infos). I think something's wrong with your vcf file.

@ioanmo226
Copy link
Collaborator

@tomholub Please check above when you have time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants