react-native-spotify
react-native-spotify copied to clipboard
Illegal callback invocation from native module
I know this repo has not received a lot of love lately but this is a fairly critical issue. After upgrading to RN 0.44, logging in with Spotify via facebook produces the following error.

The issue seems to be fairly well documented and happened with a lot of other RN libraries
https://github.com/zmxv/react-native-sound/issues/152 https://github.com/facebook/react-native/issues/13595
I'm working on a solution this but I am having some trouble getting EventEmitter
to work correctly. I've posted the issue on stackoverflow here: https://stackoverflow.com/questions/45952936/react-native-eventemitter-not-registering-events
If someone could lend some advise it would be very helpful in getting a PR submitted.
@digitaldavenyc I will have a look at it too, thanks for reporting this 👍
@digitaldavenyc I was working on https://github.com/viestat/react-native-spotify/pull/16 Maybe you can already check it out while I finalise it
@viestat I'd be happy to let me know when you think it's good to go. I don't know if upgrading will fix this issue though because it does seem to be partially a react-native flaw with callbacks.