Phonegap / Cordova 3.6.3 & CDVPlugin class CDVNotification (pluginName: Notification) does not exist

Posted by:

Eager to get your hands on the new and shiny huh?

Well, if you're using the plugin: org.apache.cordova.dialogs and upgraded your project to Phonegap / Cordova 3.6.3 you're in for a world of hurt.

This plugin is what provides native notifications like alert, confirm, prompt and beep. This will, after upgrading, cease to work and you should get a confusing error message in XCode like below:

(The text from row 3 and below will vary, depending on your implementation of the plugin)

2014-09-23 08:27:40.512 Rooms[7288:414440] CDVPlugin class CDVNotification (pluginName: Notification) does not exist.
2014-09-23 08:27:40.512 Rooms[7288:414440] ERROR: Plugin 'Notification' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2014-09-23 08:27:40.512 Rooms[7288:414440] -[CDVCommandQueue executePending] [Line 158] FAILED pluginJSON = [
  "Notification1434422161",
  "Notification",
  "alert",
  [
    "You have to perform the setup, before you can use the application.",
    "Perform Setup",
    "Don't worry, it's easy"
  ]
]

This is how to solve it:

You need to add the plugin, manually, to the build phase of the project and you need to add a framework. Sounds complicated? It really isn't. Just have a look at the image below, follow the steps and…. BOOM! You're of to stardom once again!

 

4

Infoware on stage talking about mobile development at IBM Connect Stockholm 2014

Posted by:

Our new mobile room booking app has rendered interest from customers as well as partners. We will now show it live in one of the sessions at IBM Connect Stockholm 2014 on February, 19. Don’t miss out!

Our room booking app allows you to quickly and easily get an overview of all your organization’s meetings and room bookings. With the app you can book rooms, check the booking status and above that contact your colleagues. All in your mobile device! Ulf Stider will furthermore discuss mobile development, IBM Worklight, XPages and Open Ratio.

Learn more info about our room booking app here: Room booking app

Read more about IBM Connect Stockholm 2014 here: IBM Connect Stockholm 2014 

MobileRoomBookingApp

0