This plugin provides client and server sockets for Android and iOS.
Stable on Android and iOS.
The API reference is here.
- setKeepAlive and setNoDelay are not yet implemented.
- Multicast support is only implemented in Android, and is not yet stable.
- Renamed plugin to pubilsh to NPM
- Make iossocketcommon a
<dependency>
only for iOS platform
- Fix the dependency on iosSocketsCommon so that it works with the Cordova plugin registry.
- Update to depend on new chrome.system.network and org.chromium.iosSocketsCommon plugins.
- Documentation updates.
- ios: Don't remove sockets from dictionary while iterating over it
- ios: Close open sockets on app reset/shutdown (Fixes #203)
- Remove static members from ChromeSocket on android, so that its not shared across webviews
- Destroy all lingering sockets onStop/onReset
- Add setReuseAddress to chrome.socket server sockets so you can rebind ports
- ios: Fix socket.read() not respecting maxLength
- ios: Make chrome.socket.destroy call disconnect
- Fixed
getNetworkList()
on Android to match desktop's implementation. - Moved connecting into its own thread.
- Fix TCP chrome.socket.read behavior for reads smaller than the requested read size (Issue #64)
- Allow chrome.socket.read for connected UDP socket
- Support null bufferSize for read and recvFrom
- Fixing reading when buffer is larger than available data