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

desktop helper sample doesn't use Websocket, uses obsolete io.socket #88

Open
ZBB-XD opened this issue Feb 23, 2023 · 0 comments
Open

Comments

@ZBB-XD
Copy link

ZBB-XD commented Feb 23, 2023

Your documentation states that Websocket is the only form of socket to be used in UXP, and yet this example uses io.socket which was used in CEP. In addition, when I try to import io.socket on my own project, it fails, further establishing the fact that it isn't an included standard module the way that 'photoshop' is.

https://github.com/AdobeDocs/uxp-photoshop-plugin-samples/tree/main/desktop-helper-sample

As such, both of the websocket examples you have available are non-functional, and neither one uses the new manifest.json permissions requirements for network communication, so I have three dissenting opinions from the official source on how to actually connect to either a local host or the internet.

Please fix this.

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