Skip to content

iOS improvements

Pre-release
Pre-release
Compare
Choose a tag to compare
@vinnylinck vinnylinck released this 20 May 18:02
· 2 commits to master since this 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