Reconnect issue using DDPCleint of ReactNative


I am writing a chat app using reactnative ddpclient. It works fine on simulator but when packed on actual devices it look like the wobsocket connection doesn’t retains if the connection is lost for a while.

Any Idea of how to reconnect a lost session? I am even not finding any particular scenario why the connection breaks i haven’t tried to do it deliberately.