Does your app actually register for push and log a push token to the console?
PS: By the way, it would help the legibility of your post a lot if you could format you code as code. Just select the code use the </> button in the toolbar that adds the necessary 3 space in front of your code lines. Thanks.
No. When an app first starts it “registers” with Apple/Google to get a notification token. This is initiated by calling a register() method on the Push object created by the library.
Ok now we are getting somehwere. The register() call is actually in the code you posted in the first post you made here - and as it is called on $ionicPush this doesn’t seem to be present. This is you problem.
I assume something went wrong during the installation process. You might want to create a new, blank Ionic 1 app and redo the installation process to see if you get better results then. If so, see what’s the difference between the new and your current project.
It’s the same situation for me it doesn’t work and i don’t get anything on the console.Also i have put native Auth because i thought it might be the problem that i don’t have register users and still nothing happen