chore: 更新应用版本号,移除不再使用的expo-keep-awake依赖

This commit is contained in:
康猛 2026-01-14 18:36:30 +08:00
parent 09e1caddf2
commit a66f7f9460
4 changed files with 3 additions and 5 deletions

View File

@ -8,6 +8,6 @@ export const ANDROID_ID = 'com.duomi.duooomi'
export const IOS_ID = ANDROID_ID export const IOS_ID = ANDROID_ID
export const IOS_UNIVERSAL_LINK = 'duooomi.bowong.cn' export const IOS_UNIVERSAL_LINK = 'duooomi.bowong.cn'
export const OWNER_ID = 'x3xbTCWf7dbtWu4gGU2TeI054L77xtkt' export const OWNER_ID = 'x3xbTCWf7dbtWu4gGU2TeI054L77xtkt'
export const APP_VERSION = 'dev202601121532' export const APP_VERSION = 'dev202601141820'
export const ALIPAY_SCHEMA = 'alipay2021006119657394' export const ALIPAY_SCHEMA = 'alipay2021006119657394'
export const ALIPAY_SCHEMA_SANDBOX = '9021000158673972' export const ALIPAY_SCHEMA_SANDBOX = '9021000158673972'

View File

@ -3,7 +3,7 @@ import 'react-native-reanimated'
import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native' import { DarkTheme, DefaultTheme, ThemeProvider } from '@react-navigation/native'
import * as Sentry from '@sentry/react-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 { Stack, useNavigationContainerRef } from 'expo-router'
import { StatusBar } from 'expo-status-bar' import { StatusBar } from 'expo-status-bar'
import { useEffect } from 'react' import { useEffect } from 'react'
@ -101,7 +101,7 @@ function RootLayout() {
function Providers({ children }: { children: React.ReactNode }) { function Providers({ children }: { children: React.ReactNode }) {
const colorScheme = useColorScheme() const colorScheme = useColorScheme()
useUserSession() useUserSession()
useKeepAwake() // useKeepAwake()
return ( return (
<SafeAreaProvider> <SafeAreaProvider>

View File

@ -37,7 +37,6 @@
"expo-image-manipulator": "~14.0.8", "expo-image-manipulator": "~14.0.8",
"expo-image-picker": "~17.0.8", "expo-image-picker": "~17.0.8",
"expo-insights": "~0.10.8", "expo-insights": "~0.10.8",
"expo-keep-awake": "~15.0.8",
"expo-linear-gradient": "^15.0.8", "expo-linear-gradient": "^15.0.8",
"expo-linking": "^8.0.10", "expo-linking": "^8.0.10",
"expo-media-library": "~18.2.0", "expo-media-library": "~18.2.0",

View File

@ -65,7 +65,6 @@
"expo-image-manipulator": "~14.0.8", "expo-image-manipulator": "~14.0.8",
"expo-image-picker": "~17.0.8", "expo-image-picker": "~17.0.8",
"expo-insights": "~0.10.8", "expo-insights": "~0.10.8",
"expo-keep-awake": "~15.0.8",
"expo-linear-gradient": "^15.0.8", "expo-linear-gradient": "^15.0.8",
"expo-linking": "^8.0.10", "expo-linking": "^8.0.10",
"expo-media-library": "~18.2.0", "expo-media-library": "~18.2.0",