show package.json version on web (#717)
parent
a9a661ab58
commit
037713321d
|
@ -1,4 +1,2 @@
|
|||
import VersionNumber from 'react-native-version-number'
|
||||
|
||||
export const appVersion = VersionNumber.appVersion
|
||||
export const buildVersion = VersionNumber.buildVersion
|
||||
export const appVersion = `${VersionNumber.appVersion} (${VersionNumber.buildVersion})`
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
// TODO
|
||||
export const appVersion = 'TODO'
|
||||
export const buildVersion = 'TODO'
|
||||
import {version} from '../../package.json'
|
||||
export const appVersion = version
|
||||
|
|
|
@ -409,7 +409,7 @@ export const SettingsScreen = withAuthRequired(
|
|||
</Link>
|
||||
) : null}
|
||||
<Text type="sm" style={[styles.buildInfo, pal.textLight]}>
|
||||
Build version {AppInfo.appVersion} ({AppInfo.buildVersion})
|
||||
Build version {AppInfo.appVersion}
|
||||
</Text>
|
||||
<View style={s.footerSpacer} />
|
||||
</ScrollView>
|
||||
|
|
Loading…
Reference in New Issue