Kind of sad the state PhoneGap push support is in. I checked the links and they have an if else for two completely different code branches for Android or iOS and don't support anything else:
http://www.practicalguidetomobileapps.com/resources/book/ful...
Ideally you would support more platforms and not have to make any distinction in the JavaScript and could have a single code path. Right now I pay Pushwhoosh a hefty fee per month for exactly that.
I hate working with closed source stuff that I can't bug fix and improve myself. Just the current state as evidenced by this guide is so far behind commercial offerings it would take months just to get it even comparable.