I'm developing an app that uses ExactTarget MobilePush, but when I have the app running in the foreground and test push, I don't see anything on the screen. Is my push coming through? It seems to work ok when the app is in the background.
By default, the iOS behavior is is to not show an alert if the app is running when a push comes in. MobilePush respects this default behavior, and will process the push but not display an alert. If you'd like to change this, you may do one of the two following things.
- In the SDK, call the following method to tell the SDK to show an alert:
[[ETPush pushManager] shouldDisplayAlertViewIfPushReceived:YES];
- Implement your own UIAlertView in your app delegate's