notification listener no longer called for iPhone, but works on iPad

My testers report that they no longer get push notifications while testing on IPhones.

In code, I add an event listener to “notification”, so I can get the token for setting up push notifications like so:

Runtime:addEventListener( “notification”, onNotification )

But, for some reason my listener function called “onNotification” no longer gets called, which my app needs to setup for push notifications. Strangely, the “onNotification” function does get called if you’re on an iPad, so only iPhones are affected.

Is anyone else seeing such behavior?

 

Here’s an update:

After trying everything I could think of to make it work, I got desperate and rebooted my iPhone and it magically fixed it!
 

After the reboot, my app launched and I got a strange popup that said ‘Connect to iTunes to use Push Notifications’.

This popup is mentioned in this link:

https://discussions.apple.com/thread/5475932
 

Once I did that, my app’s onNotification listener function started getting called again and I could register for pushes!
 

I have no idea what causes this bug but it now sounds like it is a bug in the iOS 7.0.3 update - not Corona.
 

Yes, I understand that iOs7.x.x has introduced and then repaired some bugs around push. Gotta love 'em! 

Ahhh, Thanks for the post kevin.  I was having the same issue (and on my iPad) where it wasn’t getting into the onNotification.  But then I did a simple restart and its working now…go figure.

Here’s an update:

After trying everything I could think of to make it work, I got desperate and rebooted my iPhone and it magically fixed it!
 

After the reboot, my app launched and I got a strange popup that said ‘Connect to iTunes to use Push Notifications’.

This popup is mentioned in this link:

https://discussions.apple.com/thread/5475932
 

Once I did that, my app’s onNotification listener function started getting called again and I could register for pushes!
 

I have no idea what causes this bug but it now sounds like it is a bug in the iOS 7.0.3 update - not Corona.
 

Yes, I understand that iOs7.x.x has introduced and then repaired some bugs around push. Gotta love 'em! 

Ahhh, Thanks for the post kevin.  I was having the same issue (and on my iPad) where it wasn’t getting into the onNotification.  But then I did a simple restart and its working now…go figure.