Giter Club home page Giter Club logo

Comments (6)

wf9a5m75 avatar wf9a5m75 commented on June 3, 2024

Although this plugin does not run in service (because of I didn't design for it), the source code is able to run in service.
Create a service class, then copy the source code.

from plugin-socket.io.

drakula84 avatar drakula84 commented on June 3, 2024

Thanks, yes, I did it and it seems to work. However, https didn't work out of box. I will need to investigate it a bit further. I have seen this thread: socketio/socket.io-client-java#26 - but I will read it tomorrow.

Had you tested it with https?

from plugin-socket.io.

wf9a5m75 avatar wf9a5m75 commented on June 3, 2024

Yes, this library works fine with https. I uses https://github.com/nkzawa/socket.io-client.java in my work project.
Do you use self-signed ssl file, perhaps?

from plugin-socket.io.

drakula84 avatar drakula84 commented on June 3, 2024

Hi yes, I am using self-signed certificates, but I tried to install it on my device and it said certificate is installed. However, it doesnt list it under Security-Credential Storage-Trusted Credentials. I am not too sure if it is supposed to list it there anyway.

Should it work with self signed certs once they are installed?

from plugin-socket.io.

drakula84 avatar drakula84 commented on June 3, 2024

Using the SSL configuration code from page below makes it work:
https://github.com/jonathanve/socket-io-android/blob/master/client-snippet.java

from plugin-socket.io.

servco50 avatar servco50 commented on June 3, 2024

asda

from plugin-socket.io.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.