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="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <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="maksumon@hotmail.com" href="http://cordova.io"> Apache Cordova Team </author> <content src="index.html"/> <access origin="*"/> <access origin="*.pushwoosh.com"/> </widget>

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

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

maksumon
1112

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×446
×353
×165

question asked: 23 Jul '14, 02:55

question was seen: 4,717 times

last updated: 23 Jul '14, 02:55