guardianproject / ChatSecureAndroid

This project has ended, but ChatSecure iOS continues. For Android, please use Conversations or Zom instead
https://chatsecure.org/blog/chatsecure-conversations-zom/
Apache License 2.0
1.07k stars 522 forks source link

app not functional after phone call while in app. #653

Open madrig88 opened 9 years ago

madrig88 commented 9 years ago

I updated this morning and found that after a phone call if you are in Chatsecure, you try to type and it appears when sent, but disappears tater ward and acts like it never sent. This has been reproducible every time on my Samsung note 4. As soon as I force stop Chatsecure, and restart it, it orks fine.

madrig88 commented 9 years ago

Also one last thing I just noticed. If you force stop the app it removes the assigned nicknames. And would become tedious if you had to do this all the time with many contacts

n8fr8 commented 9 years ago

Are you on a CDMA network like Sprint or Verizon?

n8fr8 commented 9 years ago

Also, after you make your call, can you check if the account is connected or not? Open the left sidebar account screen to see. Thanks!

madrig88 commented 9 years ago

It says it's online, and yes I'm on sprint.

n8fr8 commented 9 years ago

CDMA networks have a bad problem of not allowing the data channel (aka the Internet/3G/4G) to work when you make a phone call: https://community.sprint.com/baw/message/862882

So in effect, once you stop your call, it takes a second for ChatSecure to reconnect. I admit we haven't tested on your device configuration at this point, and we should probably figure out why the seamless reconnect/relogin is not happening.

It likely wouldn't happen if you were on wifi while making the phone call.

madrig88 commented 9 years ago

Also, I am trying to connect to group chat servers but for some reason I cannot create or join any group chats on any server. that includes my own that I'm hosting. It says on the server side jabber.calyxinstitute.org could not serve I'm not sure this is an issue with Chatsecure directly.... however is there a way to work around this?

madrig88 commented 9 years ago

I have tested this on both wifi and 4G and same problem on both ends

n8fr8 commented 9 years ago

With group chat, the most foolproof method is to A) setup a dukgo.com account and b) enter conference.dukgo.com as the group chat server. Obviously, if you are running your own server, then it should work there, but we haven't tested on a wide variety of server types yet. What kind of server are you using? Do you join group chat/MUCs with another client like pidgin?

madrig88 commented 9 years ago

Any other client seems to work such as pidgin and xabber, and I'm using a prosody server on a Linux system.

madrig88 commented 9 years ago

Will dukgo.com allow us to connect to a group chat with the secret identity setting? Or do I have to create a user to access the group chat functionality?

n8fr8 commented 9 years ago

Oh I see... the "Secret Identity" setting is tied to the CalyxInstitute.org Jabber server, so issue with group chat might be tied to that box. We will do some testing and see if it can work. However, if you want to create a group chat room on dukgo.com or some other box, you usually need an account on that box. So that means, in this case you would need to use the "Create New Account" option, to generate a new account on dukgo.com.

madrig88 commented 9 years ago

As long as I can create a group chat with the secret identity it doesn't really matter to me how, or which server it's on. Or even if you use one client kinda like a server similar to what the old messengers did where you create a chat and add other contacts to it. Anything is appreciated.

Thanks.

madrig88 commented 9 years ago

It is now just hanging on "signing in" and won't go any farther after I get off the phone.