Need help in installing WebSocket.Droid for websocket.pcl

Ravi Upadhyaya 1 Reputation point
2021-11-18T16:23:13.503+00:00

Hi:

I am developing a xamarin Android app to send and receive text messages from an ESP8266 using websockets. Looked for websocket libraries on the web and zeroed on websockets.pcl by NVentimiglia (https://github.com/NVentimiglia/Websockets.PCL)

I was able to install the websocket.pcl via the nuget package manager. However to test the sample programs, there seems to be a need for websockets.Droid library. The websockets.Droid is available on the github link given above.

I scoured the internet for the procedure of installing Websocket.Droid package. The readme file in the link says precious little as shown below..

Setup

Android

Include Websockets.Droid and Websockets (PCL) library

Ios

Include Websockets.Ios and Websockets (PCL) library
Include Square.SocketRocket

Can somebody help me with the procedure of adding the websockets.Droid package to my project?

Thanks in advance,
Ravi Upadhyaya

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,378 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ravi Upadhyaya 1 Reputation point
    2021-11-19T10:15:02.453+00:00

    Will do.. Thanks a lot JarvanZhang!!

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.