Exactly, it would be super annoying for every mobile site I visit to prompt me for notification permissions.
surely that could be solved by a single switch in the settings that disables all web notifications?
I believe most desktop browsers have that already.
I would be happy with a compromise where a single switch in the settings enables notifications for people who want them.
So you propose solving that annoyance by disabling the tech entirely? Maybe we should disable the browser entirely, so now you don't have annoying sites to worry about at all!
Solving a minor UX concern, easily solved by defaults and settings mind you, by deleting the feature entirely is an absurd argument.
Desktop Chrome has this feature. If it annoys you, you simply turn off the entire feature altogether. Problem solved.
The solution to this is to only allow it if the user "installed" the PWA by adding it to their home screen. Same with the other complex api's like bluetooth etc.