Giter Site home page Giter Site logo

Comments (20)

patrickkettner avatar patrickkettner commented on August 20, 2024

what device, what version of android?

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

Samsung Galaxy S4, and I get this message with Iphone emulator:
ReferenceError: Can't find variable: io

from vorlonjs.

deltakosh avatar deltakosh commented on August 20, 2024

What do you mean by "not recognized" ?

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

Not inspect, none client appears

from vorlonjs.

deltakosh avatar deltakosh commented on August 20, 2024

Ok sounds like a issue with socket.IO
How do you reference vorlon.js? using the single line? Do you use require.js? do you use socket.io on your side?

Pulling in @meulta for help:)

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

I use RequireJS, and yes I using the single line

from vorlonjs.

deltakosh avatar deltakosh commented on August 20, 2024

Ok sounds like a issue with socket.IO
How do you reference vorlon.js? using the single line? Do you use require.js? do you use socket.io on your side?

Pulling in @meulta for help:)

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

Ok, I put the line from vorlonjs before requirejs, and when I try to connect nothing appear only the messages from terminal, and when I inspect with forefoxdevedition, I saw the ReferenceError: Can't find variable: io message,

from vorlonjs.

deltakosh avatar deltakosh commented on August 20, 2024

Ok so this is a known issue with have with socket.io. @meulta is working on a fix:)

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

ah Cool, so i'll waiting :)

from vorlonjs.

deltakosh avatar deltakosh commented on August 20, 2024

This won't be long:)

from vorlonjs.

meulta avatar meulta commented on August 20, 2024

hey @haroldSanchezb :)

Just to be sure, are you loading socket.io with requirejs in your code?
That would help be reproduce the problem
Thanks

from vorlonjs.

meulta avatar meulta commented on August 20, 2024

Also, it would be even better if you could share your files or a substract of it tht reproduce the error.
Thanks

from vorlonjs.

meulta avatar meulta commented on August 20, 2024

Any news on the repro case @haroldSanchezb ? :)
Thanks a lot

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

Hi, is necessary load socket.io in requirejs? I don't use in my project and I load the script before run requirejs, greetings!

from vorlonjs.

drazik avatar drazik commented on August 20, 2024

I also have an issue with android browser. I don't know if it's related. I load VorlonJS using <script src="http://x.x.x.x:1337/vorlon.js"></script> before my </body>. When I load my page on android browser, the browser crashes when the page has finished loading.

Here are the logs :

{"type":"API","session":"default","level":"warn","message":"   API : No client in session default","timestamp":"2015-05-21T08:18:53.139Z"}
{"type":"DASHBOARD","session":"default","level":"info","message":"   DASHBOARD : New Dashboard with session id : default","timestamp":"2015-05-21T08:18:53.818Z"}
{"type":"DASHBOARD","session":"default","level":"info","message":"   DASHBOARD : No client selected for this dashboad on this session : default","timestamp":"2015-05-21T08:18:53.819Z"}
{"type":"PLUGIN","session":"default","level":"info","message":"   PLUGIN : Send Refresh clientlist to dashboard (0)[Mozilla/5.0 (Linux; U; Android 4.2.2; fr-fr; SM-T110 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30] on sessionid : default socketid = oh4xzKaLhUjmK8seAAAE","timestamp":"2015-05-21T08:19:14.651Z"}
{"type":"PLUGIN","session":"default","level":"info","message":"   PLUGIN : New client (0)[Mozilla/5.0 (Linux; U; Android 4.2.2; fr-fr; SM-T110 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30] on sessionid : default socketid = oh4xzKaLhUjmK8seAAAE","timestamp":"2015-05-21T08:19:14.658Z"}
{"type":"PLUGIN","session":"default","level":"info","message":"   PLUGIN : Number clients in session : 01","timestamp":"2015-05-21T08:19:14.659Z"}
{"type":"PLUGIN","session":"default","level":"info","message":"   PLUGIN : New client (0) wait...","timestamp":"2015-05-21T08:19:14.659Z"}
{"type":"API","session":"default","level":"info","message":"   API : GetClients nb client 1 in session default","timestamp":"2015-05-21T08:19:14.672Z"}
{"type":"PLUGIN","session":"default","level":"info","message":"   PLUGIN : Delete client socket oh4xzKaLhUjmK8seAAAE for session default(default) ","timestamp":"2015-05-21T08:19:23.362Z"}

Do you think I should open another issue or it is related to the current one ?

from vorlonjs.

meulta avatar meulta commented on August 20, 2024

hey,
@haroldSanchezb I am going to prepare you a version doing that.

@drazik can you create another issue with more infor about the android version ? are you testing that on an emulator? which one?

Thanks

from vorlonjs.

meulta avatar meulta commented on August 20, 2024

To keep you updated, we are doing so tests and dev and the version with socket.io optionnal will be available :)

from vorlonjs.

haroldSanchezb avatar haroldSanchezb commented on August 20, 2024

Good!

from vorlonjs.

meulta avatar meulta commented on August 20, 2024

Hello,

You know have a new parameter in the catalog.json file under server/public (documented here : http://vorlonjs.io/documentation/#vorlonjs-server-advanced-topics) that you can use to choose weither you want to get socket.io from vorlon or not.

The client part is waiting that socket.io is loaded before doing anything so you can load it how you want.

It is available on the github repo code right now (not on npm) can you test it and tell us if it works better?

Thanks

from vorlonjs.

Related Issues (20)

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.