Skip to content
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

React native register schema crash #334

Open
syuanlj opened this issue Jan 23, 2025 · 2 comments
Open

React native register schema crash #334

syuanlj opened this issue Jan 23, 2025 · 2 comments

Comments

@syuanlj
Copy link

syuanlj commented Jan 23, 2025

I met the same problem with openwallet-foundation/credo-ts#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

@berendsliedrecht
Copy link
Contributor

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.

@TimoGlastra
Copy link
Member

Lol, i redirected to open the issue here. It's only in react native so has to be something in the wrapper.

@TimoGlastra TimoGlastra reopened this Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants