Closed victor-padovam closed 2 years ago
When the app is completely closed, 'Disconocido' appears
What did I do to resolve.
I made changes to the role handleCallIntent of the file BackgroundCall....java (https://github.com/diegogarciar/twilio_voice/blob/master/android/src/main/java/com/twilio/twilio_voice/BackgroundCallJavaActivity.java#L99)
My solution to resolve this was.
in function: String caller = preferences.getString(fromId, preferences.getString("defaultCaller", "Desconocido")); changed To:
String caller = preferences.getString(fromId, preferences.getString("defaultCaller", "Desconocido"));
String fromId = intent.getStringExtra(Constants.CALL_FROM).replace("client:", ""); String caller = preferences.getString(fromId, preferences.getString("defaultCaller", fromId));
Result:
Thanks I'll review this
When the app is completely closed, 'Disconocido' appears
What did I do to resolve.
I made changes to the role handleCallIntent of the file BackgroundCall....java (https://github.com/diegogarciar/twilio_voice/blob/master/android/src/main/java/com/twilio/twilio_voice/BackgroundCallJavaActivity.java#L99)
My solution to resolve this was.
in function:
String caller = preferences.getString(fromId, preferences.getString("defaultCaller", "Desconocido"));
changed To:Result: