Update release channels.

This commit is contained in:
Patrick Fic
2024-02-29 19:20:56 -08:00
parent fa14c76268
commit 753ef87ce7
4 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
"slug": "imexmobile", "slug": "imexmobile",
"version": "1.6.0", "version": "1.6.0",
"extra": { "extra": {
"expover": "5", "expover": "8",
"eas": { "eas": {
"projectId": "ffe01f3a-d507-4698-82cd-da1f1cad450b" "projectId": "ffe01f3a-d507-4698-82cd-da1f1cad450b"
} }
@@ -24,7 +24,7 @@
}, },
"android": { "android": {
"package": "com.imex.imexmobile", "package": "com.imex.imexmobile",
"versionCode": 1100030, "versionCode": 1100033,
"googleServicesFile": "./google-services.json", "googleServicesFile": "./google-services.json",
"permissions": [ "permissions": [
"android.permission.READ_EXTERNAL_STORAGE", "android.permission.READ_EXTERNAL_STORAGE",

View File

@@ -25,7 +25,7 @@ export default function ScreenSettingsComponent() {
})} })}
</Title> </Title>
<Text>Release Channel {Updates.releaseChannel}</Text> <Text>Release Channel {Updates.channel}</Text>
<SignOutButton /> <SignOutButton />
{/* <Button title="Purge State" onPress={() => purgeStoredState()} /> */} {/* <Button title="Purge State" onPress={() => purgeStoredState()} /> */}
</View> </View>

View File

@@ -9,7 +9,7 @@
}, },
"test": { "test": {
"releaseChannel": "test", "releaseChannel": "test",
"env": { "ANDROID_SDK_ROOT": "/Users/pfic/Library/Android/sdk" } "env": { "API_URL": "https://api.test.imex.online"}
}, },
"production": { "production": {
"releaseChannel": "production", "releaseChannel": "production",

2
env.js
View File

@@ -46,7 +46,7 @@ const ENV = {
function getEnvVars() { function getEnvVars() {
if (process.env.NODE_ENV === "development") return ENV.test; if (process.env.NODE_ENV === "development") return ENV.test;
let releaseChannel = Updates.releaseChannel; let releaseChannel = Updates.channel;
if ( if (
releaseChannel === null || releaseChannel === null ||
releaseChannel === undefined || releaseChannel === undefined ||