I know why this warning appears in my case I didn't create channel but it is not the question , what I want to know is how to catch it or check if channel exist it in the code in order to handle it before publishing the notification.
"Developper warning for package "com.app" failed to post notification on channel "channel1" see log for more details" thanks.