From a66f7f9460e80c9b4a63f37dbe127e57ffa5c905 Mon Sep 17 00:00:00 2001 From: km2025 Date: Wed, 14 Jan 2026 18:36:30 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8F=B7=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=B8=8D?= =?UTF-8?q?=E5=86=8D=E4=BD=BF=E7=94=A8=E7=9A=84expo-keep-awake=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.constants.js | 2 +- app/_layout.tsx | 4 ++-- bun.lock | 1 - package.json | 1 - 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/app.constants.js b/app.constants.js index 754b096..e94924a 100644 --- a/app.constants.js +++ b/app.constants.js @@ -8,6 +8,6 @@ export const ANDROID_ID = 'com.duomi.duooomi' export const IOS_ID = ANDROID_ID export const IOS_UNIVERSAL_LINK = 'duooomi.bowong.cn' export const OWNER_ID = 'x3xbTCWf7dbtWu4gGU2TeI054L77xtkt' -export const APP_VERSION = 'dev202601121532' +export const APP_VERSION = 'dev202601141820' export const ALIPAY_SCHEMA = 'alipay2021006119657394' export const ALIPAY_SCHEMA_SANDBOX = '9021000158673972' diff --git a/app/_layout.tsx b/app/_layout.tsx index 9f4ed8e..cc865eb 100644 --- a/app/_layout.tsx +++ b/app/_layout.tsx @@ -3,7 +3,7 @@ import 'react-native-reanimated' import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native' import * as Sentry from '@sentry/react-native' -import { useKeepAwake } from 'expo-keep-awake' +// import { useKeepAwake } from 'expo-keep-awake' import { Stack, useNavigationContainerRef } from 'expo-router' import { StatusBar } from 'expo-status-bar' import { useEffect } from 'react' @@ -101,7 +101,7 @@ function RootLayout() { function Providers({ children }: { children: React.ReactNode }) { const colorScheme = useColorScheme() useUserSession() - useKeepAwake() + // useKeepAwake() return ( diff --git a/bun.lock b/bun.lock index d8464a9..0996c97 100644 --- a/bun.lock +++ b/bun.lock @@ -37,7 +37,6 @@ "expo-image-manipulator": "~14.0.8", "expo-image-picker": "~17.0.8", "expo-insights": "~0.10.8", - "expo-keep-awake": "~15.0.8", "expo-linear-gradient": "^15.0.8", "expo-linking": "^8.0.10", "expo-media-library": "~18.2.0", diff --git a/package.json b/package.json index ec63095..dd43f8a 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,6 @@ "expo-image-manipulator": "~14.0.8", "expo-image-picker": "~17.0.8", "expo-insights": "~0.10.8", - "expo-keep-awake": "~15.0.8", "expo-linear-gradient": "^15.0.8", "expo-linking": "^8.0.10", "expo-media-library": "~18.2.0",