How to create elixir app for both phoenix and mobile backend

Hello and welcome,

You can build a json api, either a simple rest api, or graphql.

Building a mobile application is not that different than building a webclient for rest api… just be aware authentication will often use token instead of session.

If You want to use channels, then You will need a phoenix client available in your language.

I am not sure there is one for Dart (maybe someone knows one)