Open aoopvn opened 9 years ago
I'm having a similar issue with emits not working when the app goes in background mode. The log shows that the emit function has been called but the callback is not triggered and the log goes quiet. - Until I open the app again, that is. Then the log floods with error messages from siosocket with the error: "type = TransportError;".
Could be related to https://github.com/MegaBits/SIOSocket/issues/36 and https://github.com/MegaBits/SIOSocket/issues/16 ...
Anyone got an idea for a fix? :smile:
You could try background tasks iOS7+ feature or 'simulate' geolocation activity to simulate 'background work'.
Background task means the app got killed by task manager (mean double tapping and removing form active app)?
Cuz im searching an answer to it
How do we handle new event when the app enter background mode? Here under is my approach for this, but it still doesn't work Thank you very much for your suggestion