Pusher Channels client library for Flutter targeting IOS, Android, and WEB
MIT License
72
stars
101
forks
source link
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.pusher.client.channel.impl.message.AuthResponse.getChannelData()' on a null object reference #83
I think the issue comes from pusher_beams_android package but I found similar issues in this repo. Therefore, I am posting my issue here.
The issues is when I debug my flutter app in Android emulator, it shows the splash screen and the app exited just after it. It only happening on Android and working fine on iOS simulator.
I am sorry this doesn't related to pusher at all. There was something wrong with onAuthorizer and turns out it was it backend which is returning a HTML document when authorizing fail. Closing the issue now.
I think the issue comes from
pusher_beams_android
package but I found similar issues in this repo. Therefore, I am posting my issue here.The issues is when I debug my flutter app in Android emulator, it shows the splash screen and the app exited just after it. It only happening on Android and working fine on iOS simulator.
I have checked other issues and tried https://github.com/pusher/pusher-channels-flutter/issues/53#issuecomment-1237245577 and https://github.com/pusher/pusher-channels-flutter/issues/53#issuecomment-1237552296 but these answers didn't work for me. Thanks in advance for your kind help.
Here is the full stack
and here is my
flutter doctor -v
logPlease let me know if you need further information.