Releases: Tlantic/cdv-socket-plugin
0.6.1
0.6.0
0.5.0
0.4.1
0.4.0
iOS improvements
Changelog
Breaking changes
- connectionId: connect method returns an id for the opened socket. This id must be used as connection reference for disconnect, send, receive and isConnected methods.
- isConnected: after calling connect, that does not mean the connection will be opened right on time. it takes some miliseconds, which can be painful for your app. So, the isConnected method was made as first workaround to check connectivity before doing something stupid (which is allowed by current plugin implementation). I'm looking forward about opening the connection and return the success callback only after having some return from target host. Probably, talking about v0.4 release.
Fixed issues
- socket event handling for ios: #14
- invalid socke tbeing stored in conenction pool: #15
- iOS buffer size issues: #32
- single quote issues: #34
- data trunctation problems: #44
New features / Improvements
- implemented isConnected method
Windows8 Store Apps Support
This release provides basic support for Windows 8 Store Apps platform. Also, there are a lot of bug fixes, specially regarding some validation checks on connection before performing some operations.
There is a huge improvement regarding socks operations. Matter fact, now you can use the connection id (returned by connect method) to perform the send and disconnect operations. This can make things easier when building a wrapper in your app or when managing your connections.
Feel free to fork and suggest your pull requests to have this plugin in a good shape.
iOS Support
This release provides basic support for iOS platform. Also, there are a lot of bug fixes, spexially regarding socket closure and resources disposal.
This package is lighter to make things easier for who uses plugman. Basically, I moved the SocketDemoApp to another repo, but you can find the package here as well.
Feel free to fork and suggest your pull requests to have this plugin in a good shape. I'm not having the tiem I'd like to have this updated how often as I want to.
See ya.
Droid Baby Steps
"Droid Baby Steps" is the codename for the first release of Cordova TCP Socket Plugin for Cordova/Phonegap. This version includes the basic support for TCP socket connections for Android platform, developed over 3.4 version of Cordova and tested using an Android 4.1.1 device.
Demo folder contains the demo app using the plugin and a NodeJS TCP socket server for testing purposes.
The NodeJS version used for this server was v0.10.26 but there is no report of compatibility issues with older version (until now).
For more information, please check the release notes file distributed inside "spec" folder.
Feel free to provide feedbacks, do a fork and send your pull requests.