Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promise Not Resolving #49

Open
danpastori opened this issue Apr 19, 2019 · 2 comments
Open

Promise Not Resolving #49

danpastori opened this issue Apr 19, 2019 · 2 comments

Comments

@danpastori
Copy link

I was working with the plugin today and opened an issue that I thought was the problem with audio not playing.

Essentially, I've been trying to run the play() method and nothing happens. I have ensured I have a valid token, I have the client ID, but when I try to handle a success OR failure, neither method gets called. It looks like the promise is just not resolving and is in a pending state. Do you have any insight on what I'm doing wrong? I'm running Cordova 8.10.

@danpastori
Copy link
Author

I also see that I'm getting the following error in the xCode console:

2019-04-19 13:29:25.827966-0700 [43118:8833703] CDVPlugin class CordovaSpotify (pluginName: SpotifyConnector) does not exist.
2019-04-19 13:29:25.828016-0700 [43118:8833703] ERROR: Plugin 'SpotifyConnector' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.

@danpastori
Copy link
Author

So I ended up downgrading to Cordova 7.1 and everything worked flawlessly due to a similar issue found here: bitpay/cordova-plugin-qrscanner#144 (comment). Hope this helps if you need to update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant