[Question] Delete wallet without agent initialisation
icc-romeu opened this issue · 2 comments
icc-romeu commented
Hi,
Is there a way to do this? How can you delete the wallet if you lose the key?
Thanks
icc-romeu commented
Well, I found a way of doing this with Askar on React Native just in case it helps someone: just delete the .afj
folder in your installation (iOS and Android tested).
TimoGlastra commented
Hey @icc-romeu, yes the approach you described is probably the best way. It's a bit tricky as you sometimes can't delete a wallet without it being open, especially in the case of a multit-tenant installation.
Note that deleing the .afj folder will also delete other metadata (but that should not matter if you also delete the wallet)