Skip to content

Releases: Tlantic/cdv-socket-plugin

0.6.1

Choose a tag to compare

@diogoqueiros diogoqueiros released this 07 Nov 12:51

Fixes

  • Android: add ConnectionExpress source file (a93c636)

0.6.0

Choose a tag to compare

@diogoqueiros diogoqueiros released this 06 Nov 19:24
da9d61b

Features

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

0.5.0

Choose a tag to compare

@diogoqueiros diogoqueiros released this 02 Nov 19:03
b277f8f

Features

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

0.4.1

Choose a tag to compare

@joelbraga joelbraga released this 12 Sep 09:40

Features

  • iOS: allow multiple write format (dade072)

0.4.0

Choose a tag to compare

@joelbraga joelbraga released this 12 Sep 09:32

General

Refactor

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

iOS improvements

iOS improvements Pre-release
Pre-release

Choose a tag to compare

@vinnylinck vinnylinck released this 20 May 18:02

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

Pre-release

Choose a tag to compare

@vinnylinck vinnylinck released this 07 Apr 21:29

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

iOS Support Pre-release
Pre-release

Choose a tag to compare

@vinnylinck vinnylinck released this 01 Apr 21:11

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 Pre-release
Pre-release

Choose a tag to compare

@vinnylinck vinnylinck released this 26 Mar 14:05

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