After following the guide for Phonegap iOS while running the app on device I got following error messages in my log:

CDVPlugin class PushNotification (pluginName: PushNotification) does not exist. ERROR: Plugin 'PushNotification' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

And here is the config.xml

<widget id="com.maksumon.PushTest" version="1.0" xmlns="" xmlns:cdv=""> <preference name="AllowInlineMediaPlayback" value="false"/> <preference name="AutoHideSplashScreen" value="true"/> <preference name="BackupWebStorage" value="cloud"/> <preference name="DisallowOverscroll" value="false"/> <preference name="EnableViewportScale" value="false"/> <preference name="FadeSplashScreen" value="true"/> <preference name="FadeSplashScreenDuration" value=".25"/> <preference name="KeyboardDisplayRequiresUserAction" value="true"/> <preference name="MediaPlaybackRequiresUserAction" value="false"/> <preference name="ShowSplashScreenSpinner" value="true"/> <preference name="SuppressesIncrementalRendering" value="false"/> <preference name="TopActivityIndicator" value="gray"/> <preference name="GapBetweenPages" value="0"/> <preference name="PageLength" value="0"/> <preference name="PaginationBreakingMode" value="page"/> <preference name="PaginationMode" value="unpaginated"/> <feature name="LocalStorage"> <param name="ios-package" value="CDVLocalStorage"/> </feature> <feature name="Device"> <param name="ios-package" value="CDVDevice"/> </feature> <feature name="NetworkStatus"> <param name="ios-package" value="CDVConnection"/> </feature> <feature name="Console"> <param name="ios-package" value="CDVLogger"/> </feature> <feature name="Notification"> <param name="ios-package" value="CDVNotification"/> </feature> <feature name="PushNotification"> <param name="ios-package" value="PushNotification"/> </feature> <name>PushTest</name> <description> A sample Apache Cordova application that responds to the deviceready event. </description> <author email="" href=""> Apache Cordova Team </author> <content src="index.html"/> <access origin="*"/> <access origin="*"/> </widget>

Anyone please help me to solve the issue. Thanks...

asked 23 Jul '14, 02:55
maksumon's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 23 Jul '14, 02:55

question was seen: 4,717 times

last updated: 23 Jul '14, 02:55