Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not receiving any push notification in iPhone

Tags:

I have made a sample PushTest app for Push Notification using this tutorial.

And using above tutorial I got the message that 'PushTest' would like to send you Push Notification (exactly once) and after that I delete the app from iPhone, restart the iPhone but unable to get the same message again.

I have run the script sample.php (updating the changes suggested) and got the message 'connected to APNS' & 'your message send'.

But I didn't receive any single push notification.

Please guide me where I am wrong?
Or what shod I try for push notification receive.

like image 804
Idiot Avatar asked Apr 22 '13 05:04

Idiot


People also ask

Why am I not receiving push notifications on my iPhone?

You can fix an iPhone that's not getting notifications by restarting it or making sure notifications are turned on. You should also make sure your iPhone is connected to the internet so apps can receive notifications. If all else fails, you should try resetting the iPhone — just make sure to back it up first.

Why am I not getting any push notifications?

Settings > Sounds & Vibration > Do Not Disturb: if this setting is enabled, Push Notifications will not be received. Make sure this is disabled. Settings > General > Background App Refresh: this setting allows the app to run in the background and must be turned on.

Why am I not getting notifications on my iPhone iOS 15?

Go to Settings → scroll down to the app. Tap Notifications. Ensure that Allow Notifications toggle is turned on.


1 Answers

You will not receive Push only in 2 cases

1.) If your application is in foreground.

2.) you device token is not valid for receiving the push notification please check both the condition if you still do not receive push please let me know. Thanks

like image 158
Divyam shukla Avatar answered Sep 18 '22 15:09

Divyam shukla