App crashing when initiating Vid/Voice calls

Hello. App currently crashes whenever a call is initiated, Below is the log cat: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=2 pri=4 contentView=null vibrate=null sound=null defaults=0x0 flags=0x42 color=0xff03a9f4 category=call vis=PRIVATE)
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)


Can you please check whether you have created a notification channel in your application class.
From Android 8, it’s necessary to create notification channel to use notificationBuilder.

Please check below link for reference.

Hi. Thanks for getting back to us. We managed to fix the issue by using a similar approach as the one you mentioned

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.