Closed funnel20 closed 2 years ago
YES! Every app calling "enableBackgroundingOnSocket" method to support background will crash due to missing of this flag. Hope someone will merge and update....
This issue has been marked as stale, it will be closed automatically if there is no further activity.
As reported the latest version will crash on iOS 16, since Apple finally removed constant
kCFStreamNetworkServiceTypeVoIP
which is still be used by AsyncSocket.I have provided a solution for issue https://github.com/robbiehanson/CocoaAsyncSocket/issues/361 more than 2 years ago via PR #717 but this has never be implemented. Please release an update asap where
kCFStreamNetworkServiceTypeVoIP
should be replaced bykCFStreamNetworkServiceTypeBackground
as indicated in the above mentioned comments and PR.