iden3 / iden3-mobile

iden3 light client library implementation in Go for native wallets (with gomobile-friendly wrappers)
GNU General Public License v3.0
2 stars 0 forks source link

Creating an identity without the directories of the storepath created is returning an error #104

Open rauljareno opened 4 years ago

rauljareno commented 4 years ago

When calling the method newIdentity, if the storepath passed by parameter doesn't exist because its directories havent been created yet, the method returns an error instead of creating the path and returning the identity.

Iden3mobile.newIdentity( "$storePath/alias", "password", web3Url, 1000, null) { event -> print(event) }

Result -> Error: no such file or directory Expected -> creating it and returning the identity