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
58 stars 24 forks source link

Support dynamic ActionCable URL #6

Closed croaker closed 4 years ago

croaker commented 4 years ago

Hi @kesha-antonov, we're using react-native-action-cable as a replacement for Rails' default implementation. Recently we ran into a situation where we needed to switch the consumer URLs dynamically. Rails' default implementation has support for dynamic URLs since https://github.com/rails/rails/pull/35579. If you're interested in making this feature generally available, here's our implementation.

kesha-antonov commented 4 years ago

Hi! Sure, thanks!