Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Krishna Vemulavada
/
vera_2.1_app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7ec3fdfd
authored
Oct 31, 2019
by
Simhachalam ch
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Added socket connection acknowledgement and ping events to resolve freeze issues
parent
8d1ba475
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
1 deletions
app/src/main/java/com/vsoft/vera/CatalogueApplication.java
app/src/main/java/com/vsoft/vera/ui/ChatActivity.java
app/src/main/res/values/strings.xml
app/src/main/java/com/vsoft/vera/CatalogueApplication.java
View file @
7ec3fdfd
...
...
@@ -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
);
...
...
app/src/main/java/com/vsoft/vera/ui/ChatActivity.java
View file @
7ec3fdfd
This diff is collapsed.
Click to expand it.
app/src/main/res/values/strings.xml
View file @
7ec3fdfd
...
...
@@ -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 -->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment