{"action":"created","issue":{"url":"https://api.github.com/repos/lufinkey/react-native-spotify/issues/40","repository_url":"https://api.github.com/repos/lufinkey/react-native-spotify","labels_url":"https://api.github.com/repos/lufinkey/react-native-spotify/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/lufinkey/react-native-spotify/issues/40/comments","events_url":"https://api.github.com/repos/lufinkey/react-native-spotify/issues/40/events","html_url":"https://github.com/lufinkey/react-native-spotify/issues/40","id":294979164,"number":40,"title":"undefined is not an object","user":{"login":"justin-segler","id":22453144,"avatar_url":"https://avatars2.githubusercontent.com/u/22453144?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-segler","html_url":"https://github.com/justin-segler","followers_url":"https://api.github.com/users/justin-segler/followers","following_url":"https://api.github.com/users/justin-segler/following{/other_user}","gists_url":"https://api.github.com/users/justin-segler/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-segler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-segler/subscriptions","organizations_url":"https://api.github.com/users/justin-segler/orgs","repos_url":"https://api.github.com/users/justin-segler/repos","events_url":"https://api.github.com/users/justin-segler/events{/privacy}","received_events_url":"https://api.github.com/users/justin-segler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":36,"created_at":"2018-02-07T01:54:40Z","updated_at":"2018-02-08T17:08:40Z","closed_at":null,"author_association":"NONE","body":"After adding in some new libraries, now my call to this library is apparently not working. I call 'import Spotify from \"react-native-spotify\"' at the top but when I reach the Spotify object inside my constructor, it is undefined and throws an error. Any ideas?"},"comment":{"url":"https://api.github.com/repos/lufinkey/react-native-spotify/issues/comments/364180704","html_url":"https://github.com/lufinkey/react-native-spotify/issues/40#issuecomment-364180704","issue_url":"https://api.github.com/repos/lufinkey/react-native-spotify/issues/40","id":364180704,"user":{"login":"justin-segler","id":22453144,"avatar_url":"https://avatars2.githubusercontent.com/u/22453144?v=4","gravatar_id":"","url":"https://api.github.com/users/justin-segler","html_url":"https://github.com/justin-segler","followers_url":"https://api.github.com/users/justin-segler/followers","following_url":"https://api.github.com/users/justin-segler/following{/other_user}","gists_url":"https://api.github.com/users/justin-segler/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-segler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-segler/subscriptions","organizations_url":"https://api.github.com/users/justin-segler/orgs","repos_url":"https://api.github.com/users/justin-segler/repos","events_url":"https://api.github.com/users/justin-segler/events{/privacy}","received_events_url":"https://api.github.com/users/justin-segler/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T17:08:40Z","updated_at":"2018-02-08T17:08:40Z","author_association":"NONE","body":"Shoot. The reason it’s scoped in the first place is because there is another npm library already with the name ‘react-native-spotify’ correct? If that’s the case, could you not just list your module under a different name and get rid of the scoping altogether?\n\n> On Feb 8, 2018, at 11:07 AM, Luis Finke <notifications@github.com> wrote:\n> \n> I don't know that. I'm just hoping that. If you look at the npm README\n> though, it describes the Android bug\n> \n> On Feb 8, 2018 12:05 PM, \"justin-segler\" <notifications@github.com> wrote:\n> \n> Oh very interesting. That sucks… You think that if your package wasn’t\n> scoped, there wouldn’t be any issues?\n> \n> \n> > On Feb 8, 2018, at 10:47 AM, Luis Finke <notifications@github.com> wrote:\n> >\n> > Because the `react-native link` command has a bug that doesn't handle\n> > scoped packages the correct way. I know it exists on Android, but it might\n> > also be causing problems on iOS\n> >\n> > On Feb 8, 2018 11:38 AM, \"justin-segler\" <notifications@github.com> wrote:\n> >\n> > > I see I see. Why would that be causing problems?\n> > >\n> > > —\n> > > You are receiving this because you commented.\n> > > Reply to this email directly, view it on GitHub\n> > > <https://github.com/lufinkey/react-native-spotify/issues/\n> 40#issuecomment-364170605>,\n> > > or mute the thread\n> > > <https://github.com/notifications/unsubscribe-auth/AHdTUUXao5Y447ajnJ0_\n> KJK7VOotr7_bks5tSyMDgaJpZM4R8BO4>\n> > > .\n> > >\n> > —\n> > You are receiving this because you authored the thread.\n> > Reply to this email directly, view it on GitHub <\n> https://github.com/lufinkey/react-native-spotify/issues/\n> 40#issuecomment-364173730>, or mute the thread <https://github.com/\n> notifications/unsubscribe-auth/AVabmKWVvvWvi2qqxUucqRG4AowzkH\n> Prks5tSyU4gaJpZM4R8BO4>.\n> \n> >\n> \n> —\n> You are receiving this because you commented.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/lufinkey/react-native-spotify/issues/40#issuecomment-364179864>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AHdTUTPRQL-TjtOlsq8yOMJUawShtV9Zks5tSylygaJpZM4R8BO4>\n> .\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <https://github.com/lufinkey/react-native-spotify/issues/40#issuecomment-364180207>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AVabmNlGp2bvFTjpGgUCjGKuz9N20bzsks5tSym0gaJpZM4R8BO4>.\n> \n\n"}}
{"actor":{"display_login":"justin-segler"}}