I am trying to get pubnub working with react-native. I installed pubnub with npm, but when I try to subscribe to a channel I receive the error 'method GET must not have a request body'. If I just try to run this code outside of react-native in node it works perfectly. If I turn the code into an async action it doesn't throw the get method error, but nothing happens and I don't receive the 'Here' console.log indicating a successful connection.
via Samuel Krut
No comments:
Post a Comment