fix: sync displayed app version and bump to 1.0.1
This commit is contained in:
2
app.json
2
app.json
@@ -2,7 +2,7 @@
|
||||
"expo": {
|
||||
"name": "irida-mobile",
|
||||
"slug": "fisenko",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"orientation": "landscape",
|
||||
"icon": "./assets/images/icon.png",
|
||||
"scheme": "iridamobile",
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "irida-mobile",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "irida-mobile",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"dependencies": {
|
||||
"@expo/ui": "~57.0.9",
|
||||
"@expo/vector-icons": "^15.1.1",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "irida-mobile",
|
||||
"main": "expo-router/entry",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"dependencies": {
|
||||
"@expo/ui": "~57.0.9",
|
||||
"@expo/vector-icons": "^15.1.1",
|
||||
|
||||
@@ -2,6 +2,7 @@ import { observer } from 'mobx-react-lite';
|
||||
import React, { useState, useEffect, useRef, useCallback } from 'react';
|
||||
import { View, Text, StyleSheet, TextInput, TouchableOpacity, ActivityIndicator, useWindowDimensions } from 'react-native';
|
||||
import { Ionicons } from '@expo/vector-icons';
|
||||
import Constants from 'expo-constants';
|
||||
import { authSettingsStore } from '@/entities/app-settings';
|
||||
import { persistSession } from '@/entities/session';
|
||||
import { endpoints, darkPalette as d, withAlpha } from '@/shared/config';
|
||||
@@ -298,7 +299,7 @@ function LoginPage({ onLogin, onLoginMrm, onSmsLoginSuccess, error, loading }: P
|
||||
)}
|
||||
|
||||
<View style={styles.footer}>
|
||||
<Text style={styles.versionText}>Версия 1.0.0</Text>
|
||||
<Text style={styles.versionText}>Версия {Constants.expoConfig?.version ?? '—'}</Text>
|
||||
<View style={styles.statusRow}>
|
||||
<View style={styles.statusDot} />
|
||||
<Text style={styles.statusText}>Сервер доступен</Text>
|
||||
|
||||
Reference in New Issue
Block a user