codinguser / gnucash-android

Gnucash for Android mobile companion application.
Apache License 2.0
1.23k stars 540 forks source link

Not able to export to "Encrypt with OpenKeychain" #632

Open kelteren opened 7 years ago

kelteren commented 7 years ago

I want to be able to use the app OpenKeychain for encrypting files when sending files back and forth between devices. However it does not work with gnucash app.

Being able to use this toolchain would also in some way solve feature request #488

Steps to reproduce the behaviour

  1. Use "Export..."-option in meny to export transactions
  2. Select "Export to" in Send to..." in order to send to another app/destination

Expected behaviour

Expects to be able to select "Encrypt with openkeychain" as destination for the export. After that, the external app will send the encrypted file to final destination.

Actual behaviour

Do not find "Encrypt with openkeychain" in list of destinations. (Do, however, get the option of sending to "Decrypt with openkeychain".)

Software specifications

rivaldi8 commented 7 years ago

We are aware of this problem, but haven't been able to fix it. In case it's useful to someone, I'm adding here some notes from when I tried to fix it:

I've tried different combinations of: adding a "content" scheme, removing some attributes from <data>, and removing the leading "/" in pathPattern.

I've tested opening a .gnucash file from "Downloads" app, OpenExplorer, CyanogenMod File Manager and ownCloud app.

Software specifications:

codinguser commented 7 years ago

This also ties in with the feature of allowing GnuCash Android to show up in the "Open with.." list when handling .gnucash files. It doesn't show up at the moment, and I haven't also figured out how to do it yet.

codinguser commented 7 years ago

@kelteren v2.1.5 switched to FileProviders for sharing exported files. Does that fix the issue for you?