Update release channels.
This commit is contained in:
4
app.json
4
app.json
@@ -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",
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
2
eas.json
2
eas.json
@@ -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
2
env.js
@@ -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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user