socket.io-android-chat icon indicating copy to clipboard operation
socket.io-android-chat copied to clipboard

Can't join chat on Android 6 (Nexus 6)

Open erva opened this issue 9 years ago • 8 comments

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

erva avatar Feb 05 '16 22:02 erva

Update io.socket version didn't help compile ('io.socket:socket.io-client:0.7.0') { exclude group: 'org.json', module: 'json' }

erva avatar Feb 05 '16 22:02 erva

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.

erva avatar Feb 05 '16 22:02 erva

@ervinmartirosyan This repo is still active, thanks for your report!

nkzawa avatar Feb 06 '16 00:02 nkzawa

@ervinmartirosyan Can you explain your fix for this?

cbillingham avatar Apr 12 '16 05:04 cbillingham

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.

erva avatar Apr 12 '16 22:04 erva

@ervinmartirosyan hi could you send message to specific user by this library?

pishguy avatar Aug 08 '16 14:08 pishguy

@tux-world sorry, there wasn't this case in my requirements so I didn't met your issue with message to specific user

erva avatar Aug 13 '16 00:08 erva

there is no problem on my android 6 phone using this example

man2 avatar Nov 08 '16 01:11 man2