Details available here: https://forum.xda-developers.com/android/general/howto-4-to-disable-heads-notifications-t3197660
Long story short is you need to run this command:
adb shell settings put global heads_up_notifications_enabled 0
Long story short is you need to run this command:
adb shell settings put global heads_up_notifications_enabled 0
You need to have adb installed and connected mobile with USB cable
Keywords:
disable notifications peeking in samsung galaxy s6/s7/s8
disable notifications baloon in samsung galaxy s6/s7/s8
disable notifications bubble in samsung galaxy s6/s7/s8