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

IOS app crash when initialising wallet #28

Open
anton-yatsenko opened this issue Feb 8, 2024 · 0 comments
Open

IOS app crash when initialising wallet #28

anton-yatsenko opened this issue Feb 8, 2024 · 0 comments

Comments

@anton-yatsenko
Copy link

I encountered unexpected app crashes on IOS only (android works fine).
Error message: Could not cast value of type 'NSNull' to 'NSString'. Then app crashes.
Caused when calling init method. Issue arises only when redirect field of appMetadata is null, while if I assign redirect an empty string, it works fine.
Code samples: final AppMetadata walletMetadata = AppMetadata( name:name, url: url, description: description, icons: <String>[ icon, ], redirect: "", );
await _walletConnect.init(projectId: 'yourid', appMetadata: walletMetadata);

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

1 participant