React native register schema crash
I met the same problem with https://github.com/openwallet-foundation/credo-ts/issues/1626 There is dependencies in my package.json { "@credo-ts/askar": "0.5.10", "@credo-ts/core": "0.5.10", "@credo-ts/drpc": "0.5.10", "@credo-ts/indy-vdr": "0.5.10", "@credo-ts/push-notifications": "0.7.1", "@credo-ts/question-answer": "0.5.10", "@credo-ts/react-hooks": "0.6.0", "@credo-ts/react-native": "0.5.10", "@hyperledger/anoncreds-react-native": "0.2.4", "@hyperledger/aries-askar-react-native": "0.2.3", "@hyperledger/indy-vdr-react-native": "0.2.2", }
Error: Validation error: Trying to use DID with unexpected length: 0. The 16- or 32-byte number upon which a DID is based should be 22/23 or 44/45 bytes when encoded as base58.
Has this problem been solved? Thank U
Please open this issue at credo, it seems the did being passed is just an empty string, not the issue of this library.
If you do think it is an issue of this library, please reopen this issue with a way to reproduce this error without credo-ts.
Lol, i redirected to open the issue here. It's only in react native so has to be something in the wrapper.
Okay, then I need some more information about which method causes this issue.
I think it's the create / register schema method