Native-push

Hi friend, ionic serve woudnt work because PushNotifications is a device feature.
I see that your are trying to implement push notifications in ionic 2 app with typescript.
I have done that with pretty ease and have blogged about it with a video demo.
Take a look, may help you.

Why didnt you choose firebase over OneSignal, i have to implement the push service, so i am thinking which one to go with.

Any of you is giving support to iOS10? I can’t get regID on those devices, getting: Push Plugin register failed

I have an app with Ionic 4 / typescript. The native plugin returns

Cannot find name ‘PushNotification’.

on const push = PushNotification.init({
Tried every possible solution over the web. Please help

Ionic:

Ionic CLI : 6.11.8 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.2

Capacitor:

Capacitor CLI : 1.5.0
@capacitor/core : 1.5.0

Cordova:

Cordova CLI : 10.0.0

Utility:

cordova-res : not installed
native-run (update available: 1.3.0) : 0.3.0

System:

ios-deploy : 2.0.0
ios-sim : 8.0.2
NodeJS : v13.7.0 (/usr/local/bin/node)
npm : 6.14.5
OS : macOS Catalina
Xcode : Xcode 11.7 Build version 11E801a