Skip to content

Commit e7c3f08

Browse files
committed
Update NEXT_PUBLIC_LOCAL_ANDROID check
1 parent 7b5961f commit e7c3f08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

capacitor.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { CapacitorConfig } from '@capacitor/cli';
22

3-
const LOCAL_ANDROID = process.env.NEXT_PUBLIC_LOCAL_ANDROID !== undefined
3+
const LOCAL_ANDROID = process.env.NEXT_PUBLIC_LOCAL_ANDROID === '1'
44
console.log("LOCAL_ANDROID in CapacitorConfig", LOCAL_ANDROID)
55

66
const config: CapacitorConfig = {

common/src/envs/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {isProd} from "common/envs/is-prod";
55
export const MAX_DESCRIPTION_LENGTH = 100000
66
export const MAX_ANSWER_LENGTH = 240
77

8-
export const IS_LOCAL_ANDROID = process.env.NEXT_PUBLIC_LOCAL_ANDROID !== undefined
8+
export const IS_LOCAL_ANDROID = process.env.NEXT_PUBLIC_LOCAL_ANDROID === '1'
99
console.log('IS_LOCAL_ANDROID', IS_LOCAL_ANDROID)
1010

1111
export const LOCAL_WEB_DOMAIN = `localhost:3000`

0 commit comments

Comments
 (0)