kesha-antonov / react-native-action-cable

Use Rails 5+ ActionCable channels with React Native for realtime magic.
https://www.npmjs.com/package/@kesha-antonov/react-native-action-cable
MIT License
57 stars 24 forks source link

Question about the published releases #17

Closed nithya16886 closed 4 months ago

nithya16886 commented 4 months ago

Hello,

There is a change to allow headers to be sent in, while creating consumers, that is present in master - https://github.com/kesha-antonov/react-native-action-cable/blob/master/lib/action_cable/consumer.coffee, but not been released.

Is there a plan to release this change? We have a requirement to update one of the request headers and it would be helpful.

Thanks!!

kesha-antonov commented 4 months ago

Hi Sure I'll do it today/tomorrow

kesha-antonov commented 4 months ago

BTW you can also do like this:

ActionCable.createConsumer(`${CONSTANTS.WS_URI}?session_token=${encodeURIComponent(token)}`)
kesha-antonov commented 4 months ago

Released 1.1.5 Also updated readme: https://github.com/kesha-antonov/react-native-action-cable?tab=readme-ov-file#methods

nithya16886 commented 3 months ago

Thank you for releasing this!