Open Qvadis opened 4 years ago
Let me add: It happens since Android 10 update.
One note:
If I add any number to the name, it displays it correctly
"John" -> Unknown "John 1" -> John 1
@Qvadis did you have any solution for this?
@Qvadis did you have any solution for this?
I didn't. My solution was to put asterisks after and before the name so it looks like this: NAME and it can be displayed.
Just tested with Android 12. It seems to work again without the asterisks
Hi,
I've come across a very weird issue in my application. I made a calling application that uses JsSIP and CordovaCall for making and receiving calls between users.
It works fine in most Android devices, but I'm struggling to make it work in a Xiaomi Pocophone F1.
When I receive a call from, let's say John, the CordovaCall UI says "Unknown". However, if I receive a call from Naomi, it says Naomi. Weird, uh?
I made two tests. One with a user called "Nborja Antona" and another one with "borja Antona". One is good and another one is unknown.
Let me show you two screen captures. Sorry it is in spanish, but you have to pay attention to the notification that says "Teléfono" (Phone), "Desconocido" (Unknown) and "Llamada entrante" (Incoming Call).
When "Nborja Antona" calls, CordovaCall shows a toast that displays "Call from 626752268622". When "borja Antona" calls, the toasts says "Call from unknown"
I tried different names and as long as it begins with "N", it is ok.
When "Nabcdefghijklmnopqrstuvwxyz" calls the numer is "6222333444555666677778889999". Each letter corresponds with the keys 1-9 we had to press before touch screens.
My guess is that, as long as it starts with 6, the phone guesses it is a valid mobile phone and it "parses" it.
Any thoughs on what may be the better solution for this?
Thank you and cheers.