match web version exports (#4257)

zio/stable
Samuel Newman 2024-05-29 12:00:15 +03:00 committed by GitHub
parent 613884a3d3
commit 33de856c32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 10 deletions

View File

@ -1,6 +1,8 @@
import {version} from '../../package.json'
export const BUILD_ENV = process.env.EXPO_PUBLIC_ENV
export const IS_DEV = process.env.EXPO_PUBLIC_ENV === 'development'
export const IS_TESTFLIGHT = false
// This is the commit hash that the current bundle was made from. The user can see the commit hash in the app's settings
// along with the other version info. Useful for debugging/reporting.

View File

@ -159,3 +159,7 @@ async function downloadUrl(href: string, filename: string) {
a.download = filename
a.click()
}
export async function safeDeleteAsync() {
// no-op
}

View File

@ -1,11 +1,3 @@
import {
Image,
NativeSyntheticEvent,
ImageLoadEventData,
ImageSourcePropType,
} from 'react-native'
export default Image
import {Image} from 'react-native'
export const HighPriorityImage = Image
export type OnLoadEvent = NativeSyntheticEvent<ImageLoadEventData>
export type Source = ImageSourcePropType
export type {ImageStyle} from 'react-native'