I experienced the error that app just freeze on call screen and need to be force closed. After some debugging I figured out that token for FCM push notifications that i am sending to backend through contactUriParams header is causing the problem. If I remove token from header, it works ok, also if I send just half on token it works too. That means that token length is a problem. As far as I could notice it header length is less than 160 characters it works good, everything above that freezes the app, current token length is 170+ characters and it is getting longer and longer.
I would like to know is there a way to increase max length of this header, or any other way to pass token to backend. I followed Your demo app and saw that You are using same way to send token, and it works good for registration, but for some reason that header gets passed on each call as a localContactUri and when it's too long it freezes the screen.
Hi,
I experienced the error that app just freeze on call screen and need to be force closed. After some debugging I figured out that token for FCM push notifications that i am sending to backend through contactUriParams header is causing the problem. If I remove token from header, it works ok, also if I send just half on token it works too. That means that token length is a problem. As far as I could notice it header length is less than 160 characters it works good, everything above that freezes the app, current token length is 170+ characters and it is getting longer and longer.
I would like to know is there a way to increase max length of this header, or any other way to pass token to backend. I followed Your demo app and saw that You are using same way to send token, and it works good for registration, but for some reason that header gets passed on each call as a localContactUri and when it's too long it freezes the screen.