Push not defined, PushNotification not defined, Ionic not defined.. What's happening?

There is little to no documentation on how to do push notification in Ionic 2.

if there are, would someone be so kind of linking them?

Whenever I try to do anything related to a plugin, I always seem to get undefined errors.

Is this because of it being launched in the browser?

Here’s some example code of the undefined error for PushNotifcation using the phonegap-push plugin:

platform.ready().then(() => { var push = PushNotification.init({ android: { senderID: "12345679" }, ios: { alert: "true", badge: true, sound: 'false' }, windows: {} }); }

Same thing happens with Ionic, even though the file is imported in index.html & Webpack.