Then you have to ban iOS, because it's the system that throws that notification if you run an app that has notifications in its capabilities list.
If an app prompts the user for permission to send notifications as soon as it starts up, then it's the app's fault. It's been known to be bad practice (and counter-productive) for many years.