-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iOS: remove Ti.Network.TCPSocket (#11362)
* fix(ios): remove legacy tcp socket, refactor bonjour code * remove deprecated constants used by legacy tcp socket proxy * make bonjour service methods async, add events for results * move bonjour service proxy to obj-c api * support optional arguments on bonjour service methods * optional last callback arg for each method * optional timeout for resolve as first arg BREAKING CHANGE: Ti.Network.TCPSocket has been removed, use Ti.Network.Socket.TCP in it's place. BREAKING CHANGE: Ti.Network.BonjourService methods have become asynchronous. Use optional callback arguments or event listeners to react to results. Fixes TIMOB-27619, TIMOB-27076 * test(ios): add basic tests for bonjour apis * docs(network): legacy TCP socket removed, update bonjour service * mark legacy TCP socket type and related network constants removed * update BonjourService to add events * note that BonjourService resolution/publish is async in summary * update defaults for Bonjour proxy properties * document optional callbacks on BonjourService methods * add examples of usage for BonjourService * refactor(ios): address review feedback
- Loading branch information
1 parent
3d32e33
commit 9647181
Showing
15 changed files
with
595 additions
and
1,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.