I have a Rails Application in production environment and now I need to develop a Mobile App as a "frontend" for the same system.
We are already building an API, but many users will be able to change data at the same time, therefore, would be nice some real time integration.
Would it be possible to integrate Action Cable in an Ionic App? Is there any other good alternative to Action Cable + Ionic?
Regards
YES, all you need is to include the actioncable javascript into your ionic project. https://github.com/mwalsher/actioncable-js
Just create a service, or even use an angular-ready actioncable package like this: https://github.com/angular-actioncable/angular-actioncable
Bottom line, its just javascript. this is all client side stuff so it doesn't matter if you're using ionic or any other client side framework, as long as you have the server side setup in your rails app to connect to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With