Added 1000+ Semi Colons to tiws Examples
@omorandi I added your module to my Titanium IDE today and received warnings about missing semi colons.
I didn't try to run my app before I removed the warnings so I'm not sure if it would have worked without removing the warnings. I didn't realise when I started just how many warnings there were. Turned out to be over 1000. I can probably let you have the updated files if you need them.
My main reason for posting is more of a question than an issue.
Could you please explain the difference between using tiws with "plain" websockets and socket.io / now.js?
@omorandi looks like the warnings about the missing semi colons are not important in the IDE.
However I am struggling to correctly add the module to the IDE.
I have tried 2 or 3 different ways and either the IDE rejects it or I get a runtime error as shown below.
Could you please check if the module can still be added to the IDE and what the procedure is.
I worked through the notes provided by Appcelerator and it indicated it's not valid for version 6.0.x of the IDE.
@omorandi I found your updated zip file of the Module for 6.0.0+ at https://github.com/omorandi/tiws/blob/a9300d47c25433cf144ea62a2e033e4c96b0a48d/android/dist/net.iamyellow.tiws-android-2.0.0.zip Module installs fine but my app is crashing whereas it runs ok with 5.5.1. Any idea why it would be ok with 5.5.1 and not 6.0.0+? Have you used it on Android with 6.0.0?
Must be something wrong with my code in the app because when I add the module to a new "blank" app the websocket is fine for SDK 6.0.0. Strangely though if I disable the tiws module my app runs fine.