-
Notifications
You must be signed in to change notification settings - Fork 83
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
Android: vcxOpenMainPool path #779
Comments
I am a bit confused when you refer to So if I understand it right, you are suggesting that config for |
Hi Patrik, thanks for your answer! I used So yes, you understood it right. A config for Do you have plans to fix it? |
Hi Stephan, I believe you are bit mistaken here as you hold onto Nevertheless I think we are on the same page. We have currently other higher priority areas we focus on, but this would be great first contribution. I believe it shouldn't be challenging to implement either. Would you guys give it a shot? Before you start changing signatures and digging into code, I encourage you to investigate where are these files being actually created. It seem to be happening in
There's also some special handling for android - see method |
Thank you for your help, I really appreciate it. I also found an issue on the same topic on indy-sdk: hyperledger-archives/indy-sdk#2382 |
Since this seems to be solved, I am closing the issue. Feel free to reopen if needed |
Hello,
using the Android libvcx wrapper, I ran into the following problem.
When running
VcxApi.vcxOpenMainPool(poolConfig)
, it creates a folder$HOME/.indy_client/pool/
. This is a problem on Android, as this location is world-accessible. It would also need special permissions given by the user to write there and would not be deleted when uninstalling the app.In the walletConfig for
VcxApi.vcxInitThreadpool(walletConfig)
it's possible to setstorage_config -> path
to a path inside the app sandbox (e.g. withcontext.filesDir.absolutePath
), skipping all the problems described above.[Edit: to clarify,
storage_config -> path
does not skip the problem forvcxOpenMainPool
. But without that parameter a similar problem would exist forvcxInitThreadpool
]I would be very glad if someone could give me a hint how to solve this.
The text was updated successfully, but these errors were encountered: