Skip to content

CDV is not defined #5

@jackocnr

Description

@jackocnr

Hi there,

Let me start by saying thank you for this plugin - all the tutorials I could find on using custom URL schemes with Phonegap Android seemed to reference the old deprecated plugin, so I was really happy to find this active project!

So I tried installing it (in my Phonegap 3.3 project) using cordova plugin add ... which said it installed successfully (though it did also seem to "install" it for iOS too, which seems wrong), but then when I ran it on my phone, I got the following error in my LogCat:

"Uncaught ReferenceError: CDV is not defined"

So I guess the JS file was not being included. I assumed that it got added automatically somehow from that install command? If you're still supposed to add it manually, that should probably be mentioned in the installation instructions.

Anyway, I ended up removing the plugin with cordova plugin remove ... and then following the manual install instructions, which worked fine!

Thanks again,
Jack

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions