W webhost.company Active Member Licensed User Longtime User Jul 12, 2017 #1 Hello I connect to remote socket and send data successfully Now there is a problem If user press home button and go to home page(no close app) My socket cannot receive data?
Hello I connect to remote socket and send data successfully Now there is a problem If user press home button and go to home page(no close app) My socket cannot receive data?
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2017 #2 Your app cannot keep the socket connected in the background. It will disconnect after a minute or two. Upvote 0
Your app cannot keep the socket connected in the background. It will disconnect after a minute or two.
W webhost.company Active Member Licensed User Longtime User Jul 14, 2017 #3 Erel said: Your app cannot keep the socket connected in the background. It will disconnect after a minute or two. Click to expand... Erel,i don't want to close app from recent app. App run in iOS but maybe user press home and goto homepage and again return to app from recent app. Again connection lost? My app need to active in background until get data from socket. User cannot open my app for always until server send request to it Example Uber Please give me solution Upvote 0
Erel said: Your app cannot keep the socket connected in the background. It will disconnect after a minute or two. Click to expand... Erel,i don't want to close app from recent app. App run in iOS but maybe user press home and goto homepage and again return to app from recent app. Again connection lost? My app need to active in background until get data from socket. User cannot open my app for always until server send request to it Example Uber Please give me solution
Erel B4X founder Staff member Licensed User Longtime User Jul 16, 2017 #4 It is not possible, assuming that you plan to publish the app through the app store. Upvote 0