about summary refs log tree commit diff
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-03-11 11:57:23 -0700
committerGitHub <noreply@github.com>2024-03-11 11:57:23 -0700
commita289e6bce5cf645c8e422f4e2c03a1fb2cda7a95 (patch)
tree128c20c16e91cbdf726be1f131ca80da477f327d
parente4a1069b43919cd89889bcc96222030bb07ea241 (diff)
downloadvoidsky-a289e6bce5cf645c8e422f4e2c03a1fb2cda7a95.tar.zst
only include `localhost:19006` as intent filter on android (#3167)
-rw-r--r--app.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.config.js b/app.config.js
index 2552d3489..dcbb0e459 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',
               },