Separated Environment logic for iOS and Android.