Push notifications not being received in iOS 8.1


#1

I can’t get the PushPlugin working with iOS 8.1. It allows me to register the device with a token, but whenever I send push notifications to it they are never being received.

I tried it with and WITHOUT the ngCordova’s $cordovaPush wrapper, but the onAPNreceived function is never being called. An example of that is the follow snippet of ngCordova:

  // push received!!
  $scope.$on('pushNotificationReceived', function(event, notification) {
    console.log('Push received!');
    console.log(event, notification);
  });

Ios PushPlugin registered but can't get push
#2

I was using production certificates instead of development, now is working!