1
votes

I'm having trouble to get notification to IOS after downloading the app from phonegap-build.

if I test localy from Xcode it works great. if I download the app from phonegap-build and run it on device I get this on console:

"Use of the tag has been deprecated. Use a tag instead. Change:

<plugin name="PushPlugin" value="PushPlugin" />

To:

<feature name="PushPlugin">
<param name="ios-package" value="PushPlugin" /> </feature>
"

I have this on www/config.xml: <gap:plugin name="com.adobe.plugins.pushplugin" />

I'm using cordove verion 2.9 with phonegap-build pushPlugin(https://github.com/phonegap-build/PushPlugin)

followed this reference: http://devgirl.org/2012/10/19/tutorial-apple-push-notifications-with-phonegap-part-1/

what am I missing? please help

1

1 Answers

3
votes

I'm sure you've figured this out by now, but if you're using the cloud-based Adobe Phonegap Build, your <gap:plugin> name attribute is incorrect. See the plugin page on Adobe's site.

It should be: <gap:plugin name="com.phonegap.plugins.pushplugin" />

Note that the <gap:plugin> tags are reserved for the cloud-based build service to use when you want it to inject your plugins for you. The local Phonegap CLI is what uses the <feature> tags for injecting plugins.