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

When backupping to Google Drive, file suddenly disappears #3260

Closed
tuomas2 opened this issue May 23, 2024 · 7 comments
Closed

When backupping to Google Drive, file suddenly disappears #3260

tuomas2 opened this issue May 23, 2024 · 7 comments

Comments

@tuomas2
Copy link
Contributor

tuomas2 commented May 23, 2024

Is it that Google Drive does not like our .abdb suffix or what?
I'm not sure if this is just for me. I think it has worked in the past.

@tuomas2
Copy link
Contributor Author

tuomas2 commented May 23, 2024

(and by backup I mean "Backup to..." and then choose Google Drive.

@tuomas2 tuomas2 moved this from Needs triage to Prio 1 in Tuomas' project board May 25, 2024
@tuomas2
Copy link
Contributor Author

tuomas2 commented Jun 6, 2024

I tried to change filename extension to .abdb.zip but it did not help.

@tuomas2

This comment was marked as outdated.

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jun 6, 2024

Tested with ACTION_CREATE_DOCUMENT intent and it seem to work. ACTION_SEND intent fails.

@timbze do you remember if there was a reason we wanted to have also ACTION_SEND here?

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jun 6, 2024

Hmm probably idea is to also allow sharing via bluetooth etc.

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jun 6, 2024

Intents are incompatible how they should be used. ACTION_CREATE_DOCUMENT requires writing file to output stream but ACTION_SEND will fail if that is done (with Google Drive). And it is not possible to distinquish which intent was used from the result... :-/

@tuomas2
Copy link
Contributor Author

tuomas2 commented Jun 6, 2024

I guess we need to fall back to original implementation where it was asked from user if he wants to save (to a local file) or share...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Status: Closed
Development

No branches or pull requests

1 participant