Closed digitaldavenyc closed 8 years ago
I apologize, this was a n00b error on my part.
You have to drag
into the XCode project in addition to copying them to the project ios directory. You might want to update the docs on this for other developers.
Before I get into the issue, I want to thank you for making this library!
I have followed the instructions on the README and Spotify's as well to setup the project. Unfortunately, when I call
SpotifyAuth.setClientID
I receive an errorCannot read property 'setClientID' of undefined
.It seems that
SpotifyAuth
is not importing as a NativeModule for some reason.I will admit I have no experience with native modules and perhaps I am doing something wrong but I did follow the directions and place
SpotifyAuth.m
,SpotifyAuth.h
,SpotifyLoginViewController.m
andSpotifyLoginViewController.h
in theios
directory of the project. I also cleaned my build folder and rebuilt the project just to be safe and that did not fix the issue either.Here is the code for the player file I have started to develop