phonegap-build / PushPlugin

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

issue with PushPlugin new(2.3.1) version #320

Open eawebapps opened 10 years ago

eawebapps commented 10 years ago
            I have included PushPlugin in phonegap build config.xml file .. 

, Its not working in iOS , it does not return APNS device token ... But for android its working fine .

I revert back it to older version , then iOS return APNS Device token successfully . whats wrong with new version

coolgastjen commented 10 years ago

I can confirm the problem above. I am using phonegap build.

ghost commented 10 years ago

Confirming this as well. reverted back to older version and APNS worked as expected.

jdekany commented 10 years ago

I can confirm to. Using phonegap build.

enel-a423831 commented 10 years ago

I have solved with this patch:

--- a/src/ios/PushPlugin.m +++ b/src/ios/PushPlugin.m @@ -126,6 +126,8 @@ [[UIApplication sharedApplication] registerUserNotificationSettings:settings]; [[UIApplication sharedApplication] registerForRemoteNotifications];

endif

+

 self.callback = [options objectForKey:@"ecb"];
scotthooker commented 10 years ago

@enel-a423831 we already have this as a patch and discussed in issue queues. Please check existing pull requests and issue queues first.

dolartoday commented 10 years ago

Just wanted to confirm that this is in fact an issue. 2.3.1 breaks iOS support. reverting to 2.1.1 solves the issue