Hello,
I want to create a TCP sockets, which runs also in background. For example if the dispaly is switched off.
Currently my socket will be instantly closed, if display is off (same if I minimize the app).
What possibilities we have to create this special socket on iOS?
My background: I built a special VoIP app, which holds all the time a connection to the server.
There is a heartbeat mechanism which checks cyclic the connection between client and server.
Many thanks in advance!
Is it possible to use PushKit in closed networks?
Not if the network is completely closed. However, it doesn’t take much to open the network up enough for devices to open the outgoing connection required to make push notifications work, and that’s by far the easier best to this problem.
If not, what is an alternative for PushKit?
There aren’t any good alternatives. My advice, as stated in QA1938, is to contact DTS officially and discuss this with the DTS engineer who’s taken the lead on VoIP issues (which, for once, is not me :-).
Please make sure to reference this DevForums thread in your support request.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"