I have successfully set up a MySQL+PHP push notification server and everything is working fine and dandy, except for one thing. If the user happens to be in the app, they do not get the push notification, which is kind of annoying. Is there a way I can modify this so it will show the push notification in Notification Center or something?
Thanks for the help in advance!
When app is running below method is called
You cannot add anything to notification center using SDK. If notification is received when app is not running iOS add it in the notification center. You can show alert yourself in above method like this