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": {
|
"expo": {
|
||||||
"name": "irida-mobile",
|
"name": "irida-mobile",
|
||||||
"slug": "fisenko",
|
"slug": "fisenko",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"orientation": "landscape",
|
"orientation": "landscape",
|
||||||
"icon": "./assets/images/icon.png",
|
"icon": "./assets/images/icon.png",
|
||||||
"scheme": "iridamobile",
|
"scheme": "iridamobile",
|
||||||
|
|||||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "irida-mobile",
|
"name": "irida-mobile",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "irida-mobile",
|
"name": "irida-mobile",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@expo/ui": "~57.0.9",
|
"@expo/ui": "~57.0.9",
|
||||||
"@expo/vector-icons": "^15.1.1",
|
"@expo/vector-icons": "^15.1.1",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "irida-mobile",
|
"name": "irida-mobile",
|
||||||
"main": "expo-router/entry",
|
"main": "expo-router/entry",
|
||||||
"version": "1.0.0",
|
"version": "1.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@expo/ui": "~57.0.9",
|
"@expo/ui": "~57.0.9",
|
||||||
"@expo/vector-icons": "^15.1.1",
|
"@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 React, { useState, useEffect, useRef, useCallback } from 'react';
|
||||||
import { View, Text, StyleSheet, TextInput, TouchableOpacity, ActivityIndicator, useWindowDimensions } from 'react-native';
|
import { View, Text, StyleSheet, TextInput, TouchableOpacity, ActivityIndicator, useWindowDimensions } from 'react-native';
|
||||||
import { Ionicons } from '@expo/vector-icons';
|
import { Ionicons } from '@expo/vector-icons';
|
||||||
|
import Constants from 'expo-constants';
|
||||||
import { authSettingsStore } from '@/entities/app-settings';
|
import { authSettingsStore } from '@/entities/app-settings';
|
||||||
import { persistSession } from '@/entities/session';
|
import { persistSession } from '@/entities/session';
|
||||||
import { endpoints, darkPalette as d, withAlpha } from '@/shared/config';
|
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}>
|
<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.statusRow}>
|
||||||
<View style={styles.statusDot} />
|
<View style={styles.statusDot} />
|
||||||
<Text style={styles.statusText}>Сервер доступен</Text>
|
<Text style={styles.statusText}>Сервер доступен</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user