mgcrea / cordova-messagebox

Cordova ARC plugin for UIAlertView
7 stars 5 forks source link

.prompt and .promptPassword failing? #2

Closed gingerbeardman closed 11 years ago

gingerbeardman commented 11 years ago

Running the provided sample prompt and prompt password are failing.

2012-11-28 14:20:20.480 HelloWorld[5092:c07] Multi-tasking -> Device: YES, App: YES
2012-11-28 14:20:20.625 HelloWorld[5092:c07] [LOG] Received Event: deviceready
2012-11-28 14:20:23.089 HelloWorld[5092:c07] [LOG] messageBox.alert:["ok"]
2012-11-28 14:20:25.710 HelloWorld[5092:c07] [LOG] messageBox.confirm:["yes"]
2012-11-28 14:20:27.064 HelloWorld[5092:c07] CDVPlugin class MessageBox (pluginName: MessageBox) does not exist.
2012-11-28 14:20:27.064 HelloWorld[5092:c07] ERROR: Plugin 'MessageBox' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.
2012-11-28 14:20:27.065 HelloWorld[5092:c07] -[CDVCommandQueue executePending] [Line 102] FAILED pluginJSON = ["MessageBox282341128","MessageBox","prompt",[{"title":"Title","type":"text","okButtonTitle":"OK","cancelButtonTitle":"Cancel","message":"Message","placeholder":""}]]
2012-11-28 14:20:28.673 HelloWorld[5092:c07] CDVPlugin class MessageBox (pluginName: MessageBox) does not exist.
2012-11-28 14:20:28.673 HelloWorld[5092:c07] ERROR: Plugin 'MessageBox' not found, or is not a CDVPlugin. Check your plugin mapping in Cordova.plist.
2012-11-28 14:20:28.674 HelloWorld[5092:c07] -[CDVCommandQueue executePending] [Line 102] FAILED pluginJSON = ["MessageBox282341129","MessageBox","prompt",[{"title":"Please enter your password","type":"password","okButtonTitle":"OK","cancelButtonTitle":"Cancel","message":"","placeholder":"password"}]]

I have confirmed that the MessageBox plugin is in my Cordova.plist

Cordova 2.2.0, downloaded today.

Xcode 4.5.2 with iPhone/iOS 6.0 Simulator

gingerbeardman commented 11 years ago

Ah! I hadn't used "Create groups for any added folders" when adding plugin files.