-
Notifications
You must be signed in to change notification settings - Fork 12
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
Error when a wallet is disconnected/severs connection. Halts execution #43
Comments
Hello, wondering if there's any update on this? |
Hi! There were several WebGL issues we fixed in 1.4.0 that might resolve this, but we will also try to reproduce your issue on the newer version. |
Hello, sorry for the late reply. But just tested this out with 1.4.0, within my project and even in an empty project, it's still producing the same error along with a new exception. This leads me to wonder, how is everyone and you guys detecting wallet disconnects? Are is that not being detected? |
Use BeaconMessageReceiver (WalletMessageReceiver in the future), OnAccountDisconnected function to detect wallet disconnection.
|
@IamBatmanYourDad Do you still have this issue? |
We have refactored WebGL frontend app and updated Typescript Beacon dependency, so now issue didn't reproduce. |
Hello,
I wanted to use the
OnDisconnect
event to detect wallet changes/disconnects so the user could be prompted. However due to the below error, I can't do that. Unless I'm doing something stupidly wrong (in which case, please let me know how I can correctly do this), please confirm the issue.I'm using SDK version 1.2.0, but this is reproduced in 1.2.1 as well.
The error comes from walletbeacon.min.js apparently. The game loop doesn't have a chance to be triggered since it never reaches there, it happens on the web app itself.
Steps to reproduce:
The below error log is from firefox, but similar logs would be available from other browsers.
The text was updated successfully, but these errors were encountered: