Skip to content

Javascript error: Can't find variable: spotify #4

@traecadenhead

Description

@traecadenhead

After a long and vicious battle, I finally got the plugin installed and building. However, when I try to call the spotify.authenticate method in javascript, I'm getting the js error "can't find variable: spotify." My first thought was that it was not loading all of the plugin javascript files, but I've checked everything and all 7 js files from the plugin are loading fine. I looked at the js files, though, and didn't see any sort of "spotify" object - for instance in the auth.js file it looks like the object is "auth" instead of "spotify". I'm including a screenshot of my cordova_plugins.js file just in case references there may be wrong (as far as I can tell they should be correct).

shot

Any pointers?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions