Remove dev version of google-services.json and set example to dev package

This commit is contained in:
Nick Manos
2024-05-29 16:44:38 -04:00
committed by Samuel Newman
parent 7f9befbe59
commit 1467efa2c8
4 changed files with 3 additions and 46 deletions
+1 -3
View File
@@ -183,9 +183,7 @@ module.exports = function (_config) {
monochromeImage: './assets/icon-android-monochrome.png', monochromeImage: './assets/icon-android-monochrome.png',
backgroundColor: '#006AFF', backgroundColor: '#006AFF',
}, },
googleServicesFile: IS_DEV googleServicesFile: './google-services.json',
? './google-services-dev.json'
: './google-services.json',
package: IS_DEV ? 'dev.xyz.blueskyweb.app' : 'xyz.blueskyweb.app', package: IS_DEV ? 'dev.xyz.blueskyweb.app' : 'xyz.blueskyweb.app',
intentFilters: [ intentFilters: [
{ {
+1 -1
View File
@@ -31,7 +31,7 @@ This is NOT required when developing for web.
- From inside the project directory: - From inside the project directory:
- `bundler install` (this will install Cocoapods) - `bundler install` (this will install Cocoapods)
- After initial setup: - After initial setup:
- Copy `google-services.json.example` to `google-services.json` and `google-services-dev.json.example` to `google-services-dev.json` or provide your own `google-services.json` files. (A real firebase project is NOT required) - Copy `google-services.json.example` to `google-services.json` or provide your own `google-services.json`. (A real firebase project is NOT required)
- `npx expo prebuild` -> you will also need to run this anytime `app.json` or native `package.json` deps change - `npx expo prebuild` -> you will also need to run this anytime `app.json` or native `package.json` deps change
### Running the Native App ### Running the Native App
-41
View File
@@ -1,41 +0,0 @@
{
"project_info": {
"project_id": "blueskyweb-example",
"project_number": "100000000000",
"firebase_url": "https://blueskyweb-example.firebaseio.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:123456789000:android:f1bf012572b04063",
"android_client_info": {
"package_name": "dev.xyz.blueskyweb.app"
}
},
"oauth_client": [
{
"client_id": "123456789000.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "123456789000"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
+1 -1
View File
@@ -9,7 +9,7 @@
"client_info": { "client_info": {
"mobilesdk_app_id": "1:123456789000:android:f1bf012572b04063", "mobilesdk_app_id": "1:123456789000:android:f1bf012572b04063",
"android_client_info": { "android_client_info": {
"package_name": "xyz.blueskyweb.app" "package_name": "dev.xyz.blueskyweb.app"
} }
}, },
"oauth_client": [ "oauth_client": [