Commit 7ec3fdfd by Simhachalam ch

Added socket connection acknowledgement and ping events to resolve freeze issues

parent 8d1ba475
......@@ -174,7 +174,7 @@ public class CatalogueApplication extends MultiDexApplication {
options.upgrade = true;
mSocket = IO.socket(Constants.CHAT_SERVER_URL,options);
// mSocket = IO.socket("http://10.1.8.229:12811",options);
// mSocket = IO.socket("http://74cb19e2.ngrok.io/",options);
} catch (URISyntaxException e) {
throw new RuntimeException(e);
......
......@@ -140,6 +140,7 @@
<string name="connect">Connected</string>
<string name="disconnect">Disconnected, Please check your internet connection</string>
<string name="error_connect">Failed to connect</string>
<string name="error_connect_try_again">Failed to connect. Please try again!</string>
<string name="unauthorized_user">Unauthorized User</string>
<!-- messages -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment