Closed KodyKendall closed 3 years ago
I used a development branch where they had implemented ConnectionService, and continued implementation to take advantage of the native UI and default ring sound.
@KodyKendall I had a similar requirement and resolved this by adding the below line to setCallInProgressNotification
to the else part where app is not visible.
SoundPoolManager.getInstance(IncomingCallNotificationService.this).playRinging();
When the device is locked, and an incoming call is coming through, it just plays the default notification sound. Obviously, it doesn't repeat like the YouTube video does, it's just a single notification then stops, which doesn't sound like a ringtone and is confusing my users.
How can I get it to play the default ringtone sound, or the sound that plays when the app is open? The res/raw/incoming.wav sound?
I've tried adding:
and
But neither are working. Any other thoughts or areas you can point me in the right direction?