Hello, I have a react-native app via android/ios (–no html Phoenix install) and I want to utilize the channel feature of phoenix. Do I simply call the channel/route via a axios/fetch call. Or do I have to build it (react-native js) on the phoenix side and serve it to the client??? . Just wondering what’s the best way to tackle it, thanks !!! I appreciate the help !
Easiest way is to just use the Phoenix JS library and call it from your client-react code as you need.
to add on the topic, it is as easy as…
yarn add phoenix #or npm install phoenix