@Riotgear66 wrote:
I am able to recieve push notification just fine on iOS and Android but when I try and handle the push inside my app listing for 'cloud:push:notification' I get nothing. I placed the code in my main controller for the entire app and it is being run just the broadcast I am supposed to listen for is either never sent or just not being caught. I placed in some debug code to log all emits within the app and I am seeing all the emits but never seeing the cloud push broadcast. Any help would be great!
$scope.$on('cloud:push:notification', function(event, data) { var msg = data.message; alert(msg.title + ': ' + msg.text); });
Posts: 1
Participants: 1