user1175817
user1175817

Reputation: 489

parse push notifications not working ios

I installed Parse sdk on my iphone app. This is for xcode 4.5. I get the modal request to enable push notifications.
The subscription is successful. The token shows up on the parse web app. Says 1 user subscribed. But I dont get a notification from the web app.

I just cant understand what to do here.

All the provisioning madness should be correct. Was done for development.

I am using the below code to listen for the notifications.

But never gets fired. What am i doing wrong here???

- (void)application:(UIApplication *)application 
didReceiveRemoteNotification:(NSDictionary *)userInfo {
NSLog(@"received push %@", userInfo);
[PFPush handlePush:userInfo];
}

Upvotes: 0

Views: 3537

Answers (1)

junkimu
junkimu

Reputation: 78

  1. Check your app's push notification page in the Parse dashboard, which should be at https://www.parse.com/apps/(your app)/push_notifications. If the push notification doesn't appear there, then your notification didn't get sent, and the problem is on the web app's side.
  2. Try sending the push notification while your app isn't running. If you get the notification, then it's something in your app. If you don't get the notification, then you must have set up the push notification incorrectly somewhere.

Also, Parse has a pretty detailed tutorial.

Upvotes: 1

Related Questions