match web version exports (#4257)
parent
613884a3d3
commit
33de856c32
|
@ -1,6 +1,8 @@
|
||||||
import {version} from '../../package.json'
|
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_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
|
// 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.
|
// along with the other version info. Useful for debugging/reporting.
|
||||||
|
|
|
@ -159,3 +159,7 @@ async function downloadUrl(href: string, filename: string) {
|
||||||
a.download = filename
|
a.download = filename
|
||||||
a.click()
|
a.click()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export async function safeDeleteAsync() {
|
||||||
|
// no-op
|
||||||
|
}
|
||||||
|
|
|
@ -1,11 +1,3 @@
|
||||||
import {
|
import {Image} from 'react-native'
|
||||||
Image,
|
|
||||||
NativeSyntheticEvent,
|
|
||||||
ImageLoadEventData,
|
|
||||||
ImageSourcePropType,
|
|
||||||
} from 'react-native'
|
|
||||||
export default Image
|
|
||||||
export const HighPriorityImage = Image
|
export const HighPriorityImage = Image
|
||||||
export type OnLoadEvent = NativeSyntheticEvent<ImageLoadEventData>
|
|
||||||
export type Source = ImageSourcePropType
|
|
||||||
export type {ImageStyle} from 'react-native'
|
|
||||||
|
|
Loading…
Reference in New Issue