diff --git a/android/app/build.gradle b/android/app/build.gradle index bcb313f..489dcc7 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -178,3 +178,5 @@ dependencies { apply from: new File(["node", "--print", "require.resolve('@react-native-community/cli-platform-android/package.json')"].execute(null, rootDir).text.trim(), "../native_modules.gradle"); applyNativeModulesAppBuildGradle(project) + +apply plugin: 'com.google.gms.google-services' \ No newline at end of file diff --git a/android/app/google-services.json b/android/app/google-services.json new file mode 100644 index 0000000..d12e130 --- /dev/null +++ b/android/app/google-services.json @@ -0,0 +1,47 @@ +{ + "project_info": { + "project_number": "735905563616", + "project_id": "railbird-infra", + "storage_bucket": "railbird-infra.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:735905563616:android:7eefd99f68d2f7db702185", + "android_client_info": { + "package_name": "android.railbird.app" + } + }, + "oauth_client": [ + { + "client_id": "735905563616-v12rcdm7pkm1r2t5v09th5bs9j3ah1e4.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyA5o4LpiDFl8Q8AaA2eGjbgdS7tMfupCWg" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "735905563616-v12rcdm7pkm1r2t5v09th5bs9j3ah1e4.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "735905563616-ncd8794ocn2f25qmnaascn88upfgokp0.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "ai.railbird.railbird", + "app_store_id": "6469274937" + } + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index 72ac973..1eb663c 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -25,7 +25,6 @@ - diff --git a/android/build.gradle b/android/build.gradle index bf861db..63179df 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -17,6 +17,7 @@ buildscript { mavenCentral() } dependencies { + classpath 'com.google.gms:google-services:4.3.3' classpath('com.android.tools.build:gradle:7.4.2') classpath('com.facebook.react:react-native-gradle-plugin') } diff --git a/app.json b/app.json index 4683198..e9a87f7 100644 --- a/app.json +++ b/app.json @@ -36,7 +36,8 @@ "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#ffffff" }, - "package": "android.railbird.app" + "package": "android.railbird.app", + "googleServicesFile": "./google-services.json" }, "web": { "favicon": "./assets/favicon.png" diff --git a/google-services.json b/google-services.json new file mode 100644 index 0000000..d12e130 --- /dev/null +++ b/google-services.json @@ -0,0 +1,47 @@ +{ + "project_info": { + "project_number": "735905563616", + "project_id": "railbird-infra", + "storage_bucket": "railbird-infra.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:735905563616:android:7eefd99f68d2f7db702185", + "android_client_info": { + "package_name": "android.railbird.app" + } + }, + "oauth_client": [ + { + "client_id": "735905563616-v12rcdm7pkm1r2t5v09th5bs9j3ah1e4.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyA5o4LpiDFl8Q8AaA2eGjbgdS7tMfupCWg" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "735905563616-v12rcdm7pkm1r2t5v09th5bs9j3ah1e4.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "735905563616-ncd8794ocn2f25qmnaascn88upfgokp0.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "ai.railbird.railbird", + "app_store_id": "6469274937" + } + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file