phonegap-build / PushPlugin

This repository is deprecated head to phonegap/phonegap-push-plugin
https://github.com/phonegap/phonegap-plugin-push
MIT License
1.32k stars 1k forks source link

Undertanf few code in iOS #678

Open pallaviMN opened 8 years ago

pallaviMN commented 8 years ago

Hi Team, Can you please let me know why the below line is used in AppDelegate+notification.m file,

[pushHandler.handlerObj setObject:safeHandler forKey:@"handler"];

I was facing problem with this line, when the status bar notifications will come, then it will be shown only for a while. After that in iPad device, if i go to notification center i am unable to see received status bar notifications. But after commenting the above line. I was able to see in the notification center as well

pallaviMN commented 8 years ago

We also get below error

Application delegate received call to -application:didReceiveRemoteNotification:fetchCompletionHandler: but the completion handler was never called.