-
Notifications
You must be signed in to change notification settings - Fork 1
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
WebSocketException: Unable to connect to the remote server - Android #19
Comments
Hello @LukaszwBeamable, Have you verified any domain at cloud.reown.com? Do you experience issues only on Android device, or also in the Unity Editor with Android set as the target platform? |
@skibitsky Yes i have domain verifired, and i added Android Package Name in Reown Dashboard. In the Unity Editor with Android set as the target platform i can see fully initialized modals but i can only copy a link, hovewer i have an Argument Exception error with empty url when i try to do this: |
Thanks, this will be fixed in the next release today or tomorrow. Temporary workaround: remove domain verification in the cloud. Apologies for the inconvenience 🙏 |
Hello @LukaszwBeamable, A potential solution was implemented in version 1.1.0. Could you please update to this version and verify whether the issue still occurs? |
Hi @skibitsky, 1.1.0 gives the below error. Probably a forgotten namespace. |
Could you please try v1.1.1? |
So that issue is gone but now i get 2 new ones unfortunately.
And it doesnt matter if i update all dependencies to 1.1.1 If i switch back to 1.0.1 it works so below versions are fine.
|
The com.reown.unity.dependencies package is missing from your list of dependencies. Previously, there was an issue with the OpenUPM CLI that prevented all dependency packages from being installed. However, this issue was resolved a few months ago, as far as I recall. Could you please try to update OpenUPM CLI and reinstall AppKit package? npm i -g openupm-cli@latest
openupm remove com.reown.appkit.unity
openupm add com.reown.appkit.unity If it doesn't help, you can try to install missing dependency manually? openupm add com.reown.unity.dependencies |
@skibitsky , are you sure I can see that the latest version is 1.1.0 EDIT: |
@skibitsky Unfortunately looks like that updating SDK to 1.1.1 breaks previously working feature on WebGL (for Browser & Unity Editor too). In editor QR code and link are not generated at all (previously it worked), and in bowser i have js errors: |
@LukaszwBeamable that was my mistake, sorry 🙏 I pushed a fix for Could you please share you project id so I could look deeper into your issue? |
|
Indeed, there is an issue with AppKit in the Unity Editor when the target platform is set to WebGL. I’ll address this in the next patch. As a temporary workaround, you can switch to another platform to use AppKit in the Editor. Regarding WebGL in the browser, I’ve been unable to reproduce the issue so far. Could you please describe the exact steps you followed and specify which wallet you used to connect? If you are using a browser extension, kindly include the browser name as well 🙏 |
Hey @LukaszwBeamable, Could you please confirm if the issue was fixed for you in v1.1.2? |
Hi, I am on 1.1.2 and the I think my dependencies are correct? I can connect to wallet apps when using the |
Hey @RambunctiousCookie, Could you please open a new issue and include your code snippet and project id? |
Hi i tried to build Unity project with Reown for Android and i'm blocked with WebSocketException issue, which occures after i chose wallet type from modal view (ofc. appKit initialization was sucesfull without any error etc.).
Fun fact: for webgl everyting is fine, i can connect without anny errors etc - all reown features works as expected.
Logs:
reown_android_logs.txt
Screens:
Do i need to add any extra Android Manifest setup to make it works, or problem is related to something completely different?
My Unity version is 2022.3.50f1
The text was updated successfully, but these errors were encountered: