Open aalap03 opened 6 years ago
Hi @aalap03 , can you provide your exact problem? I need little more description... It will be helpful if you can provide me with little description about where exactly it get stuck.
I subscribe to the server channel to receive updates and I receive messages in onMessage
method.
I use 3 Test phones for development purpose, The Issue is on one of my test phones (Galaxy S7 Edge API 26), I don't receive Socket Updates. The phones in which it works is another Galaxy s7Edge with API 26 and Galaxy s5 NEO API 24.
I checked the not working phone's notification settings and all looks fine. I am not able to figure out what can be the issue here.
sorry @aalap03 , I am still looking into the issue. I am planning to use OkHTTP websockets instead of current websocket library.... Will push the code till end of this week.
@sacOO7 Can you give us some more info on your estimated timeline for the OkHTTP socket integration? It's something we're definitely looking forward to to use in our app
Hi @aalap03 @SanderGemoro expect update from me on this till tomorrow š
ok. Will wait for it eagerly.
Hi @aalap03 , I have created branch for the same here https://github.com/sacOO7/socketcluster-client-java/tree/feature/okHTTP. Sorry for the delay. It was more work than expected. I will release unofficial version of the library so that you can test it on your phones asap.
Hi @aalap03 @SanderGemoro I have published beta version related to above code. You can include it in your code by using
compile 'io.github.sac:SocketclusterClientJava:2.0.0-beta'
There are some method signatures which got changed due to change in library. But, you should be able to fix it without any problem. Please let me know if you face any problems with this latest release.
I'm facing the same issue. The socket is working fine on Emulator but it's not working on real device. Can someone please comment if the issue is fixed?
Will you able to reproduce the issue? Or put log messages for the same here..
On Wed, Apr 22, 2020, 16:02 Yasir Tahir notifications@github.com wrote:
I'm facing the same issue. The socket is working fine on Emulator but it's not working on real device. Can someone please comment if the issue is fixed?
ā You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sacOO7/socketcluster-client-java/issues/43#issuecomment-617694535, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7S6SN5N3IICO2Z2WCVDZLRN3BTJANCNFSM4F6PMLAA .
I'm testing the latest implementation on Emulator and it's working fine. But when I'm sending the complied APK to testing team, the socket updates aren't coming. Unfortunately, I don't have any real device with me at the moment to inspect the issue in detail with logs.
Ohh.. okay.. I will look into it... But if you get logs or detailed description of the error... It will be super useful to me š
On Wed, Apr 22, 2020, 16:22 Yasir Tahir notifications@github.com wrote:
I'm testing the latest implementation on Emulator and it's working fine. But when I'm sending the complied APK to testing team, the socket updates aren't coming. Unfortunately, I don't have any real device with me at the moment to inspect the issue in detail with logs.
ā You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sacOO7/socketcluster-client-java/issues/43#issuecomment-617704052, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7S6SOU6A5LQYFNAPQU3XTRN3D57ANCNFSM4F6PMLAA .
I am using this code to listen to the socket messages from our server.
Issue is I am testing with 2 samsung galaxy S7Edge phones both API level 26 and it one phone the socket messages works and in other phone it does not. Another test phone I am working with is Samsung S5 Neo with API 24 and it works with that phone.
I have looked into the the phones notification settings but it looks good.
Please let me know what phone settings I need to look at or what is the issue in the below code on setting the SocketClusterService.
Library Version: 1.7.5
}