Within Clean Architecture, the Remote layer allows us to abstract the sources of the remote data that our application uses. In this lesson, we’ll set up the remote layer module so we can start implementing its classes.
Hi Joe. Thank you for your lessons. I have one question: where (in which module) would you configure build variants, especially environment for you backend service?
My pleasure - and that's a great question! It might depend on your setup, but personally I would add these in the UI module as this is where we configure the injection. That way, wherever we inject components we have the ability to pass these into the constructors of our classes that may not have access to the BuildConfig properties