Retrofit 2 — Multiple Server Environments (Develop, Staging, Production)

When you’re developing an app professionally, you’re probably dealing with multiple server environments. Your API developers are constantly changing and improving the endpoints the apps consume. If you’ve an excellent backend developer, he’ll provide multiple environments:

  • develop: latest snapshot of the API code
  • staging: next API iteration up for a deployment onto the production environment
  • production: API version all users of the public release are using

The details might look different in your case, but the general concept should still stand. In this tutorial, we’ll show you how to make it easy for you to build & test against the various environments.

Retrofit Series Overview


Continue reading

University Enrollment Required

Future Students benefit from value packed videos and tutorials.

Enroll to receive exclusive content or sign in if you’re already a Future Student.

Enroll me for $15/mo

Explore the Library

Find interesting tutorials and solutions for your problems.