From f92bf954a25233d196c90b8f77e3a0629224c30f Mon Sep 17 00:00:00 2001 From: Kashif Shehzad Baloch Date: Mon, 16 Oct 2023 14:55:45 +0500 Subject: [PATCH] other changes --- CustomerApp/app.json | 15 +++++++++++---- CustomerApp/eas.json | 18 +++++++++--------- CustomerApp/environment.js | 8 ++++---- .../screens/AnimatedSplash/AnimatedSplash.js | 15 ++++++++------- 4 files changed, 32 insertions(+), 24 deletions(-) diff --git a/CustomerApp/app.json b/CustomerApp/app.json index ea62831..3c71b3c 100644 --- a/CustomerApp/app.json +++ b/CustomerApp/app.json @@ -3,8 +3,11 @@ "name": "Enatega", "version": "1.0.21", "scheme": "enategasinglevendor", - "description": "Enatega is a starter kit food ordering app built in React Native using Expo for IOS and Android. It's made keeping good aesthetics in mind as well keeping the best coding practices in mind. Its fully customisable to easily help you in your next food delivery project. https://market.nativebase.io/view/react-native-food-delivery-backend-app", + "description": "Enatega is a starter kit food ordering app built in React Native using Expo for IOS and Android. It's made keeping good aesthetics in mind as well keeping the best coding practices in mind. Its fully customisable to easily help you in your next food delivery project. https://enatega.com/enatega-single-vendor/", "slug": "enategasinglevendor", + "owner": "ninjas_code", + "currentFullName": "@ninjas_code/enategasinglevendor", + "originalFullName": "@ninjas_code/enategasinglevendor", "privacy": "public", "androidStatusBar": { "backgroundColor": "#000" @@ -21,7 +24,8 @@ "backgroundColor": "#febb2c" }, "updates": { - "fallbackToCacheTimeout": 0 + "fallbackToCacheTimeout": 0, + "url": "https://u.expo.dev/e7c3fd70-4054-4dc8-bbdb-a572a3cc6fb1" }, "assetBundlePatterns": [ "**/*" @@ -76,8 +80,11 @@ "facebookDisplayName": "Food delivery", "extra": { "eas": { - "projectId": "0b51ea6b-d9fd-48e2-9480-54149ca73a7a" + "projectId": "e7c3fd70-4054-4dc8-bbdb-a572a3cc6fb1" } + }, + "runtimeVersion": { + "policy": "sdkVersion" } } -} +} \ No newline at end of file diff --git a/CustomerApp/eas.json b/CustomerApp/eas.json index 3277943..21a9442 100644 --- a/CustomerApp/eas.json +++ b/CustomerApp/eas.json @@ -8,21 +8,21 @@ "distribution": "internal", "ios": { "resourceClass": "m-medium" - } + }, + "channel": "development" }, "preview": { "distribution": "internal", "ios": { "resourceClass": "m-medium" - } + }, + "channel": "preview" }, "production": { - "developmentClient": false, - "releaseChannel": "production", - "distribution": "store", - "ios": { - "resourceClass": "m-medium" - } + "channel": "production", + "android": { + "buildType": "apk" + } } }, "submit": { @@ -38,4 +38,4 @@ } } } -} +} \ No newline at end of file diff --git a/CustomerApp/environment.js b/CustomerApp/environment.js index 1eb2a37..2a3a8bd 100644 --- a/CustomerApp/environment.js +++ b/CustomerApp/environment.js @@ -11,7 +11,7 @@ const ENV = { WS_GRAPHQL_URL: "wss://enatega-singlevendor.up.railway.app/graphql", SERVER_URL: "https://enatega-singlevendor.up.railway.app/", Expo_CLIENT_ID_GOOGLE: - "630195385603-82e52jpb722a8l0huhkspq3tqh2d6r6f.apps.googleusercontent.com", + "967541328677-2lkpq6a9cj7bnokht7ich14igsi3brs5.apps.googleusercontent.com", IOS_CLIENT_ID_GOOGLE: "967541328677-uq7f7odvmeea2pb2sq0l7q320ds86536.apps.googleusercontent.com", ANDROID_CLIENT_ID_GOOGLE: @@ -54,7 +54,7 @@ const ENV = { }, }; -const getEnvVars = (env = Constants.manifest.releaseChannel) => { +const getEnvVars = (env = Constants.manifest/*.releaseChannel*/) => { // What is __DEV__ ? // This variable is set to true when react-native is running in Dev mode. // __DEV__ is true when run locally, but false when published. @@ -63,8 +63,8 @@ const getEnvVars = (env = Constants.manifest.releaseChannel) => { return ENV.development; } else if (env === "production") { return ENV.production; - } else if (env === "staging") { - return ENV.staging; + // } else if (env === "staging") { + // return ENV.staging; } else { return ENV.production; } diff --git a/CustomerApp/src/screens/AnimatedSplash/AnimatedSplash.js b/CustomerApp/src/screens/AnimatedSplash/AnimatedSplash.js index d3d02bb..3f11a8f 100644 --- a/CustomerApp/src/screens/AnimatedSplash/AnimatedSplash.js +++ b/CustomerApp/src/screens/AnimatedSplash/AnimatedSplash.js @@ -39,13 +39,14 @@ function AnimatedSplashScreen({ children, image }) { {!animationCompleted && ( + // style={[ + // StyleSheet.absoluteFill, + // { + // backgroundColor: Constants.manifest.splash.backgroundColor, + // opacity: animation + // } + // ]} + >