Refer to this info if you are seeing a 'Screen overlay detected' error on your Samsung phone.
If you see a 'Screen overlay detected' error, it's caused by a conflict between a running app and a newly installed app requesting permission to display info on multiple screens (e.g., messengers, alerts, battery status, etc.)