Skip to content

Releases: Tlantic/cdv-socket-plugin

0.6.1

07 Nov 12:51

Choose a tag to compare

Fixes

  • Android: add ConnectionExpress source file (a93c636)

0.6.0

06 Nov 19:24
da9d61b

Choose a tag to compare

Features

  • Android: new API sendExpress to allow connect, send data and disconnect in one single request (#85)

0.5.0

02 Nov 19:03
b277f8f

Choose a tag to compare

Features

  • Android: allow socket to be created with charset encoding (#84)

0.4.1

12 Sep 09:40

Choose a tag to compare

Features

  • iOS: allow multiple write format (dade072)

0.4.0

12 Sep 09:32

Choose a tag to compare

General

Refactor

  • iOS: change deprecated method writeJavascript to commandDelegate evalJs (fe1498c), closes #62
  • iOS: change deprecated method objc_retainedObject to CFBridgingRelease (4125f30)

iOS improvements

20 May 18:02

Choose a tag to compare

iOS improvements Pre-release
Pre-release

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

07 Apr 21:29

Choose a tag to compare

Pre-release

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

01 Apr 21:11

Choose a tag to compare

iOS Support Pre-release
Pre-release

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

26 Mar 14:05

Choose a tag to compare

Droid Baby Steps Pre-release
Pre-release

"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.