Replace some project setup with Rome specific setup.

This commit is contained in:
Patrick Fic
2023-03-15 12:21:29 -07:00
parent acd339b4fd
commit 0f2473115b
4 changed files with 35 additions and 39 deletions

View File

@@ -3,21 +3,21 @@
<plist version="1.0">
<dict>
<key>CLIENT_ID</key>
<string>253497221485-qgnj5ve8q0gk2jsmsbsf8qh1i8q04enq.apps.googleusercontent.com</string>
<string>147786367145-edt1dv440bco2afusuull5jci42k81v1.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.253497221485-qgnj5ve8q0gk2jsmsbsf8qh1i8q04enq</string>
<string>com.googleusercontent.apps.147786367145-edt1dv440bco2afusuull5jci42k81v1</string>
<key>API_KEY</key>
<string>AIzaSyAVKJ2eHZpKxsA0a3qyZImg-ePfuwcuCrE</string>
<string>AIzaSyAGI0-1kPaUR-OnmneKZArgnVBYSLuCqlM</string>
<key>GCM_SENDER_ID</key>
<string>253497221485</string>
<string>147786367145</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.imex.imexmobile</string>
<string>com.rome.mobile</string>
<key>PROJECT_ID</key>
<string>imex-prod</string>
<string>rome-prod-1</string>
<key>STORAGE_BUCKET</key>
<string>imex-prod.appspot.com</string>
<string>rome-prod-1.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
@@ -29,8 +29,6 @@
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:253497221485:ios:fcbe67f6c6f7da68227a64</string>
<key>DATABASE_URL</key>
<string>https://imex-prod.firebaseio.com</string>
<string>1:147786367145:ios:ebd3eaac9ad3c2d4a8a9b8</string>
</dict>
</plist>

View File

@@ -1,8 +1,8 @@
{
"expo": {
"name": "ImEX Mobile",
"slug": "imexmobile",
"version": "1.4.1",
"name": "Rome Mobile",
"slug": "romemobile",
"version": "1.5.0",
"extra": {
"expover": "1",
"eas": {
@@ -13,7 +13,7 @@
"icon": "./assets/logo192noa.png",
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.imex.imexmobile",
"bundleIdentifier": "com.rome.mobile",
"buildNumber": "1",
"googleServicesFile": "./GoogleService-Info.plist",
"infoPlist": {
@@ -22,8 +22,8 @@
}
},
"android": {
"package": "com.imex.imexmobile",
"versionCode": 1100025,
"package": "com.rome.mobile",
"versionCode": 1,
"googleServicesFile": "./google-services.json",
"permissions": [
"android.permission.READ_EXTERNAL_STORAGE",

21
env.js
View File

@@ -22,23 +22,22 @@ const ENV = {
},
prod: {
API_URL: "https://api.imex.online",
uri: "https://db.imex.online/v1/graphql",
wsuri: "wss://db.imex.online/v1/graphql",
API_URL: "https://api.romeonline.io",
uri: "https://db.romeonline.io/v1/graphql",
wsuri: "wss://db.romeonline.io/v1/graphql",
REACT_APP_CLOUDINARY_ENDPOINT_API:
"https://api.cloudinary.com/v1_1/bodyshop",
REACT_APP_CLOUDINARY_ENDPOINT: "https://res.cloudinary.com/bodyshop",
REACT_APP_CLOUDINARY_API_KEY: "473322739956866",
REACT_APP_CLOUDINARY_THUMB_TRANSFORMATIONS: "c_fill,h_250,w_250",
firebase: {
apiKey: "AIzaSyDSezy-jGJreo7ulgpLdlpOwAOrgcaEkhU",
authDomain: "imex-prod.firebaseapp.com",
databaseURL: "https://imex-prod.firebaseio.com",
projectId: "imex-prod",
storageBucket: "imex-prod.appspot.com",
messagingSenderId: "253497221485",
appId: "1:253497221485:web:3c81c483b94db84b227a64",
measurementId: "G-NTWBKG2L0M",
apiKey: "AIzaSyAuLQR9SV5LsVxjU8wh9hvFLdhcAHU6cxE",
authDomain: "rome-prod-1.firebaseapp.com",
projectId: "rome-prod-1",
storageBucket: "rome-prod-1.appspot.com",
messagingSenderId: "147786367145",
appId: "1:147786367145:web:9d4cba68071c3f29a8a9b8",
measurementId: "G-G8Z9DRHTZS",
},
},
};

View File

@@ -1,41 +1,40 @@
{
"project_info": {
"project_number": "253497221485",
"firebase_url": "https://imex-prod.firebaseio.com",
"project_id": "imex-prod",
"storage_bucket": "imex-prod.appspot.com"
"project_number": "147786367145",
"project_id": "rome-prod-1",
"storage_bucket": "rome-prod-1.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:253497221485:android:c48f224bc1afd537227a64",
"mobilesdk_app_id": "1:147786367145:android:61ff82f70f6089eca8a9b8",
"android_client_info": {
"package_name": "com.imex.imexmobile"
"package_name": "com.rome.mobile"
}
},
"oauth_client": [
{
"client_id": "253497221485-1tjt8aflekk0s4d1jibd8p7cbtkoocv1.apps.googleusercontent.com",
"client_id": "147786367145-hsl7bgapakau6ook4cuphu436hqub6dp.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDfmdrww4t6cnHbB4yNpJv0qLLRTwzIyUs"
"current_key": "AIzaSyD6_8MQKo4iGtMLmNHq-oLnVns77Aph5a8"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "253497221485-1tjt8aflekk0s4d1jibd8p7cbtkoocv1.apps.googleusercontent.com",
"client_id": "147786367145-hsl7bgapakau6ook4cuphu436hqub6dp.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "253497221485-qgnj5ve8q0gk2jsmsbsf8qh1i8q04enq.apps.googleusercontent.com",
"client_id": "147786367145-edt1dv440bco2afusuull5jci42k81v1.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.imex.imexmobile"
"bundle_id": "com.rome.mobile"
}
}
]
@@ -44,4 +43,4 @@
}
],
"configuration_version": "1"
}
}