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

Add blazor + unity webGL support to the app #1211

Open
sacOO7 opened this issue Feb 14, 2023 · 9 comments
Open

Add blazor + unity webGL support to the app #1211

sacOO7 opened this issue Feb 14, 2023 · 9 comments
Assignees

Comments

@sacOO7
Copy link
Collaborator

sacOO7 commented Feb 14, 2023

  • Currently, the System.Net namespace doesn't allow code to be compiled and run on the browser as a sandbox.
  • Read Direct Socket Access section under WebGL Networking.
  • Need to find a way to inject external websocket library/ Json lib in order to get the app working on these platforms.

┆Issue is synchronized with this Jira Task by Unito

@sync-by-unito
Copy link

sync-by-unito bot commented Feb 14, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3342

@sacOO7 sacOO7 self-assigned this Feb 15, 2024
@sacOO7
Copy link
Collaborator Author

sacOO7 commented Feb 15, 2024

@sacOO7
Copy link
Collaborator Author

sacOO7 commented Feb 15, 2024

Seems we can inject either of those libraries using TransportFactory as a clientOption

public ITransportFactory TransportFactory { get; set; }

@ApeOnFire
Copy link

@sacOO7 is this on the roadmap please? I'd love to use Ably with unity webGL and with Blazor! Thx

@sacOO7
Copy link
Collaborator Author

sacOO7 commented Oct 8, 2024

@ApeOnFire not yet on the roadmap, but you should be able to support it by passing transportFactory https://github.com/endel/NativeWebSocket instance as per https://github.com/ably/ably-dotnet/blob/main/src/IO.Ably.Tests.Shared/Infrastructure/TestTransportFactory.cs

@sacOO7
Copy link
Collaborator Author

sacOO7 commented Oct 8, 2024

Also, you can raise ticket for the same on https://ably.com/support

@ApeOnFire
Copy link

That's brilliant, thanks @sacOO7 👍

@sacOO7
Copy link
Collaborator Author

sacOO7 commented Oct 14, 2024

@ApeOnFire if you can get this working, if possible, it will be great if you can raise a PR to add support.
Then we can review and merge it if needed.

@sacOO7 sacOO7 closed this as completed Oct 14, 2024
@sacOO7 sacOO7 reopened this Oct 14, 2024
@ApeOnFire
Copy link

@sacOO7 I'm not working on the project currently but sure - I'll happily to that when I do.

I'm hoping it will go ahead before the end of the year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants