Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 3 down vote accepted

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.

  1. In the SDK, call the following method to tell the SDK to show an alert: [[ETPush pushManager] shouldDisplayAlertViewIfPushReceived:YES];
  2. Implement your own UIAlertView in your app delegate's application:didReceiveRemoteNotification: method.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.