Реализована проверка версионности и требование soft\force обновлений приложения

This commit is contained in:
mi
2026-09-03 19:12:38 +03:00
parent 465a70d488
commit 44db38f6fe
37 changed files with 3057 additions and 53 deletions
+56 -5
View File
@@ -6,7 +6,10 @@
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
"distribution": "internal",
"env": {
"EXPO_PUBLIC_DISTRIBUTION_STORE": "disabled"
}
},
"preview": {
"distribution": "internal",
@@ -19,18 +22,66 @@
"EXPO_PUBLIC_AUTH_BASE_URL": "https://dev-chat.han0107.ru/auth",
"EXPO_PUBLIC_KEYCLOAK_REALM": "han-chat",
"EXPO_PUBLIC_KEYCLOAK_CLIENT_ID": "han-chat-frontend",
"EXPO_PUBLIC_APP_ENV": "production-like"
"EXPO_PUBLIC_APP_ENV": "production-like",
"EXPO_PUBLIC_DISTRIBUTION_STORE": "disabled"
}
},
"production": {
"preview-rustore": {
"distribution": "internal",
"android": {
"buildType": "apk",
"autoIncrement": false
},
"env": {
"EXPO_PUBLIC_API_BASE_URL": "https://dev-chat.han0107.ru",
"EXPO_PUBLIC_AUTH_BASE_URL": "https://dev-chat.han0107.ru/auth",
"EXPO_PUBLIC_KEYCLOAK_REALM": "han-chat",
"EXPO_PUBLIC_KEYCLOAK_CLIENT_ID": "han-chat-frontend",
"EXPO_PUBLIC_APP_ENV": "production-like",
"EXPO_PUBLIC_DISTRIBUTION_STORE": "rustore"
}
},
"google-play": {
"distribution": "store",
"autoIncrement": true,
"android": {
"autoIncrement": true
},
"env": {
"EXPO_PUBLIC_API_BASE_URL": "https://chat.han0107.ru",
"EXPO_PUBLIC_AUTH_BASE_URL": "https://chat.han0107.ru/auth",
"EXPO_PUBLIC_KEYCLOAK_REALM": "han-chat",
"EXPO_PUBLIC_KEYCLOAK_CLIENT_ID": "han-chat-frontend",
"EXPO_PUBLIC_APP_ENV": "production"
"EXPO_PUBLIC_APP_ENV": "production",
"EXPO_PUBLIC_DISTRIBUTION_STORE": "google_play"
}
},
"rustore": {
"distribution": "store",
"android": {
"buildType": "app-bundle",
"autoIncrement": true
},
"env": {
"EXPO_PUBLIC_API_BASE_URL": "https://chat.han0107.ru",
"EXPO_PUBLIC_AUTH_BASE_URL": "https://chat.han0107.ru/auth",
"EXPO_PUBLIC_KEYCLOAK_REALM": "han-chat",
"EXPO_PUBLIC_KEYCLOAK_CLIENT_ID": "han-chat-frontend",
"EXPO_PUBLIC_APP_ENV": "production",
"EXPO_PUBLIC_DISTRIBUTION_STORE": "rustore"
}
},
"app-store": {
"distribution": "store",
"ios": {
"autoIncrement": true
},
"env": {
"EXPO_PUBLIC_API_BASE_URL": "https://chat.han0107.ru",
"EXPO_PUBLIC_AUTH_BASE_URL": "https://chat.han0107.ru/auth",
"EXPO_PUBLIC_KEYCLOAK_REALM": "han-chat",
"EXPO_PUBLIC_KEYCLOAK_CLIENT_ID": "han-chat-frontend",
"EXPO_PUBLIC_APP_ENV": "production",
"EXPO_PUBLIC_DISTRIBUTION_STORE": "app_store"
}
}
}