goto-dev-null / callisto-app

Callisto is a fan-made app for the content produced by Jupiter Broadcasting, a podcast network that delivers a variety of excellent shows with a thriving communtiy built around it.
Other
8 stars 3 forks source link

Connecting to chat on Verizon causes crash #3

Closed goto-dev-null closed 11 years ago

goto-dev-null commented 11 years ago

Issue exists for users on Verizon Wireless.

What steps will reproduce the problem?

  1. Wifi off
  2. Attempt to connect to chat
  3. App will force close, but stay in notification drawer

    What is the expected output? What do you see instead?

Perhaps if you detect a user is on Verizon, you could prompt them to turn on wifi before connecting to chat.

What version of Callisto are you using? What device? What version of

Android? Not applicable. Affects all versions of Callisto on all versions of Android running on all devices on Verizon Wireless.

Please provide any additional information below.

At the very least, a warning to Verizon users should be placed in the app description on the Google Play store.

Thanks.


Unfortunately, I'm not on Verizon, so I doubt I can fix this bug in the foreseeable future.

This where I'd love for someone in the community to help out


It's not something you could fix, even if you were on Verizon. They actually block IRC traffic, and not just on the default port, either. It seems they do some packet sniffing or something to detect attempted IRC connections.

I originally posted this as more of a heads-up about Verizon blocking IRC. Re-reading my post, I see that I didn't make that very clear. My apologies.

If detecting the user's carrier is more difficult, (I'd have no idea; I don't do very much application development, let alone on mobile platforms) you could add a first-run popup that warns about IRC not working on Verizon and suggest the user enable wifi if they plan on chatting.

Another possibility, which could actually work very well in conjunction with the aforementioned popup, is adding a configuration option that, when enabled, would halt attempts by the user to connect to chat unless wifi is connected.


Well I didn't want to fix it, I wanted to keep it from crashing. Plus, displaying a message will keep people from 1-starring it in the market if they know it's not my fault.

I like that feature. I will think about it.


I have personally connected to IRC networks with other apps with my Razr Maxx on Verizon. However, this app does crash for me, with a NPE. I did report them, wherever those go.

rikai commented 11 years ago

I believe that [this](http://developer.android.com/reference/android/telephony/TelephonyManager.html#getNetworkOperatorName%28%29%29 is what you're looking for. Could be used to match against a blacklist, and if the carrier at the time of opening the app matches the blacklist, give them the warning to use wifi and explain why. :)

goto-dev-null commented 11 years ago

Thanks rikai, I will implement that.in the next release.