I have a problem with remote notifications and OSx 10.8. I have enabled remote push notifications. They were also delivered to my system, but when I try to click, nothing happens. Also for this application update I had to enable the sandbox!
Mac Console Magazine:
29.08.12 11:03:50,600 usernoted[194]: Cannot find originating application to launch for event action. file:
I thought this was an AdHoc test problem or something like that. So I tried to introduce it to the AppStore with success! But the same problem occurs with the AppStore version (now I deleted it from the repository ...)
Is there a solution to this problem?
EDIT (code information):
- (void)awakeFromNib { // Register app for remote notification [[NSApplication sharedApplication] registerForRemoteNotificationTypes:(NSRemoteNotificationTypeBadge | NSRemoteNotificationTypeSound | NSRemoteNotificationTypeAlert)]; } - (void)application:(NSApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { //Post token to server }
source share