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

Added 1000+ Semi Colons to tiws Examples #36

Open
pieman64 opened this issue Dec 22, 2016 · 3 comments
Open

Added 1000+ Semi Colons to tiws Examples #36

pieman64 opened this issue Dec 22, 2016 · 3 comments

Comments

@pieman64
Copy link

@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?

@pieman64
Copy link
Author

@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.
tiws_runtime_error
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.

@pieman64
Copy link
Author

@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?

@pieman64
Copy link
Author

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.

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