Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Complain from Users about com.pusher.client.channel.impl.ChannelManager.validateArgumentsAndBindEvents #258

Open
nitingohel opened this issue Apr 24, 2020 · 2 comments
Labels

Comments

@nitingohel
Copy link

nitingohel commented Apr 24, 2020

com.pusher.client.channel.impl.ChannelManager.validateArgumentsAndBindEvents

We are using pusher in one of our client projects. Which is developed in iOS(Swift) and Android Studio with Java. This app is 1:1 chat messaging app. And since few days we are getting complain about app crash with device : Galaxy S10e - OS10, Pixel 3a - OS10, Pixel 3a XL- OS10, Pixel 3a XL - OS10. we try lot but that won't happen to all that most happened to those devices which I mention above.

Pusher Version is : 'com.pusher:pusher-java-client:1.8.1'

I have attached Crashlytics report here

Screenshot 2020-04-24 at 5 22 57 PM

Screenshot 2020-04-24 at 5 23 18 PM

We really need your help to solve that issue as we did not find a way since long and we are sure that something from pusher side need to be solve it. Kindly help...!

CC @pusher/mobile

@nitingohel nitingohel changed the title Keep users submit crash report about com.pusher.client.channel.impl.ChannelManager.validateArgumentsAndBindEvents Getting Complain from Users about com.pusher.client.channel.impl.ChannelManager.validateArgumentsAndBindEvents Apr 24, 2020
@daniellevass
Copy link
Contributor

Hi @nitingohel

The error says that you're attempting to subscribe to a channel you've already subscribed to. You should look at how where you subscribe to channels to make sure it's not possible to subscribe twice to the same channel?

You should also make sure you're abiding by the android lifecycle correctly and unsubscribing when the activity is stopped or destroyed.

Also, it might help to update the library dependency you're using. The latest version is currently 2.2.1

Hope that helps,

Danielle.

@ChauhanShv
Copy link

@daniellevass Same issue is happening with our app.
I tried checking in my code properly,
App is subscribing to the presence channel only once.
In onStop - App is unsubscribing from the same channel.

Still issue is being faced by real users.
Looks like issue in PUSHER SDK.

Note: I am unable to reproduce the issue, but its reported in our crashlytics tools.
Screenshot 2021-03-02 at 4 59 37 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants