only include `localhost:19006` as intent filter on android (#3167)

zio/stable
Hailey 2024-03-11 11:57:23 -07:00 committed by GitHub
parent e4a1069b43
commit a289e6bce5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

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