Skip to content
This repository was archived by the owner on Oct 9, 2023. It is now read-only.

Store Pool Folder in App's folder in Internal Storage #186

Closed
x0axz opened this issue May 5, 2021 · 1 comment
Closed

Store Pool Folder in App's folder in Internal Storage #186

x0axz opened this issue May 5, 2021 · 1 comment

Comments

@x0axz
Copy link

x0axz commented May 5, 2021

In Aries Xamarin App, the Wallet & Tails folder are created inside .indy_client folder, which stores in App's folder in internal storage and when user uninstall the app, all the folder created by app get deleted.

Code to Store Wallet in App.xml.cs

Path = Path.Combine(
    path1: FileSystem.AppDataDirectory,
    path2: ".indy_client",
    path3: "wallets")

But for Pool, it doesn't stored in App's folder in internal storage, but outside App's folder in internal storage, so when user uninstall the app, pool folder remains in the mobile app.

Code to Store Pool in PoolConfigurator.cs

var filename = Path.Combine(FileSystem.CacheDirectory, config.Value);

I tried few things, to store the pool folder in App's folder in internal storage like wallet, but it didn't worked.
How can I achieve this (to store pool folder in App's folder in internal storage, so when user uninstall the App, pool folder get delete as wallet, as well) ?

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

No branches or pull requests

1 participant