diff --git a/app.config.js b/app.config.js index 2552d348..dcbb0e45 100644 --- a/app.config.js +++ b/app.config.js @@ -40,6 +40,8 @@ module.exports = function (config) { ? process.env.BSKY_ANDROID_VERSION_CODE : process.env.BSKY_IOS_BUILD_NUMBER + const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development' + return { expo: { version: VERSION, @@ -103,7 +105,7 @@ module.exports = function (config) { scheme: 'https', host: 'bsky.app', }, - { + IS_DEV && { scheme: 'http', host: 'localhost:19006', },