socket.io-android-chat
socket.io-android-chat copied to clipboard
Can't join chat on Android 6 (Nexus 6)
I have found issue when I try to run this demo on Android 6. "Join" button make no effect. On my Samsung Note 2 (Android 4.4.2) chat works like a charm. Here is log:
- /com.github.nkzawa.socketio.androidchat W/System: ClassLoader referenced unknown path: /data/app/com.github.nkzawa.socketio.androidchat-2/lib/arm
- /com.github.nkzawa.socketio.androidchat D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
- /com.github.nkzawa.socketio.androidchat I/Adreno: *QUALCOMM build : 52af4d2, I8366cd0437 Build Date : 10/20/15 OpenGL ES Shader Compiler Version: XE031.05.13.02 Local Branch : M14 Remote Branch : Remote Branch : Reconstruct Branch : *
- /com.github.nkzawa.socketio.androidchat I/OpenGLRenderer: Initialized EGL, version 1.4
Update io.socket version didn't help
compile ('io.socket:socket.io-client:0.7.0') { exclude group: 'org.json', module: 'json' }
I have found issue in activity-fragment interrelation. If someone needs - ask me and I'll prepare fix. Seems this repo is not supported any more so fix on demand.
@ervinmartirosyan This repo is still active, thanks for your report!
@ervinmartirosyan Can you explain your fix for this?
As far as I can remember the issue is in LoginActivity:setResult and receiving result in MainFragment:onActivityResult Unfortunately I can't to tell you more details now (need debug). I'm sure that login functionality can be replaced to dialog and everything would works fine (as hotfix). I'm going to prepare pull request with fix.
@ervinmartirosyan hi could you send message to specific user by this library?
@tux-world sorry, there wasn't this case in my requirements so I didn't met your issue with message to specific user
there is no problem on my android 6 phone using this example