Missing Push Notification Entitlement

Thanks for your answer but I guess you missed that I’m working on Windows with Visual Studio and it seems that VS doesn’t know hooks (folder) itself.
The VS project itself is not in Cordova structure but during build it creates a folder called “bld” where it places the platform specific project folders in cordova structure.
So when I add a hooks folder in VS, it’s contents aren’t placed in the hooks folder of the cordova project, the whole folder is placed inside the www folder.

I tried manually adding the file to the hooks folder in the cordova project but failed somehow. Don’t know why exactly anymore. But I’ll give it a try next time I build for iOS. ATM I haven’t even a Mac here.
Maybe the way with the config.xml is the solution for me (what is the “working folder/path” in config.xml for referencing files??)… I’ll see…

But what I’m really curious about is why they don’t just remove the unnecessary lines of code in Cordova, shouldn’t be such a big deal…?!?