Ionic Push Notification not working

I am currently working on an Ionic project and I have tried adding Push Notification in the app but it’s not working.

I have tried PushPlugin, ngCordova but none of the frameworks are generating the tokens. Ionic does generate the tokens but when dev_push mode is set to false and it generates every time the app opens. Which shouldn’t be happening.

Can anyone please suggest what can be done from here?

Umang Pandya