PushNotificationSample icon indicating copy to clipboard operation
PushNotificationSample copied to clipboard

Can't get foreground notifications working on iOS

Open cvoisey opened this issue 10 years ago • 6 comments

I am trying to get this working on iOS, however I can’t seem to find a way to make it get the handler to show a message when the app is in the foreground. I see the message is received in the Xcode console, but nothing happens within the app. I’ve tried a number of tracers on this and it just seems they are never fired.

Any thoughts? Is there perhaps an incompatibility with latest versions of something?

cvoisey avatar Feb 25 '15 09:02 cvoisey

getting same issue found any solution ?

navneetccna avatar Aug 06 '15 11:08 navneetccna

Anyone found a solution? I'm having the same issue.

wardleinc avatar Aug 31 '15 06:08 wardleinc

any sol?

scripterkaran avatar Nov 02 '15 06:11 scripterkaran

Any solution for this?

aasavad avatar Jan 21 '16 09:01 aasavad

Is there any Solution to this issue? Please help asap.

prasad8mhatre avatar Apr 07 '16 13:04 prasad8mhatre

if push is working you have to handle the notification by yourself like this

this.push.on('notification', function (data) { // data.message, // data.title, // data.count, // data.sound, // data.image, // data.additionalData });

fenta23 avatar Apr 07 '16 13:04 fenta23