Reputation: 489
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
Reputation: 78
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.Also, Parse has a pretty detailed tutorial.
Upvotes: 1