Determine whether application is in development or production environment

Is there a way to determine whether the Expo app is in dev / prod mode? This would be useful to switch between which API server to communicate with.

Hi, you can check __DEV__.

console.log(__DEV__);
2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.