From aafe568f188d1e70a9fa320feae0024bc66d87d3 Mon Sep 17 00:00:00 2001 From: Matt DiMeglio Date: Mon, 25 Aug 2025 09:45:25 -0400 Subject: [PATCH] Add Firebase App --- app.json | 16 +++++++++++++-- ios/Tones/GoogleService-Info.plist | 32 ++++++++++++++++++++++++++++++ package-lock.json | 20 +++++++++++++++++++ package.json | 1 + 4 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 ios/Tones/GoogleService-Info.plist diff --git a/app.json b/app.json index 3ff3557..805dabd 100644 --- a/app.json +++ b/app.json @@ -14,7 +14,8 @@ }, "ios": { "supportsTablet": true, - "bundleIdentifier": "com.mattdimegs.tones" + "bundleIdentifier": "com.mattdimegs.tones", + "googleServicesFile": "./ios/Tones/GoogleService-Info.plist" }, "android": { "adaptiveIcon": { @@ -27,7 +28,18 @@ "plugins": [ "expo-router", "expo-font", - "expo-web-browser" + "expo-web-browser", + "@react-native-firebase/app", + "@react-native-firebase/auth", + "@react-native-firebase/crashlytics", + [ + "expo-build-properties", + { + "ios": { + "useFrameworks": "static" + } + } + ] ], "experiments": { "typedRoutes": true diff --git a/ios/Tones/GoogleService-Info.plist b/ios/Tones/GoogleService-Info.plist new file mode 100644 index 0000000..058a343 --- /dev/null +++ b/ios/Tones/GoogleService-Info.plist @@ -0,0 +1,32 @@ + + + + + API_KEY + AIzaSyClZkx4PFWhfIG3JDb6GD3g6Bl7-pWLNrU + GCM_SENDER_ID + 917296693147 + PLIST_VERSION + 1 + BUNDLE_ID + com.mattdimegs.tones + PROJECT_ID + tones-9f1d4 + STORAGE_BUCKET + tones-9f1d4.firebasestorage.app + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:917296693147:ios:73d6d426aa60e52b35ab3e + DATABASE_URL + https://tones-9f1d4-default-rtdb.firebaseio.com + + \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 5329613..21ede24 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@emotion/unitless": "^0.10.0", "@expo/vector-icons": "^14.0.2", "@react-native-async-storage/async-storage": "^1.24.0", + "@react-native-firebase/app": "^23.1.1", "@react-native-picker/picker": "^2.11.1", "@react-navigation/native": "^7.1.17", "expo": "^53.0.20", @@ -3115,6 +3116,25 @@ "react-native": "^0.0.0-0 || >=0.60 <1.0" } }, + "node_modules/@react-native-firebase/app": { + "version": "23.1.1", + "resolved": "https://registry.npmjs.org/@react-native-firebase/app/-/app-23.1.1.tgz", + "integrity": "sha512-w6fSGukDPzHiDbF3d8g1MYrlcoHtAn0pezUDYcmhZjDMldPBb5yxDi8/tj96K+0AecY6nCbOh5VgwY0bEd3iOQ==", + "license": "Apache-2.0", + "dependencies": { + "firebase": "12.1.0" + }, + "peerDependencies": { + "expo": ">=47.0.0", + "react": "*", + "react-native": "*" + }, + "peerDependenciesMeta": { + "expo": { + "optional": true + } + } + }, "node_modules/@react-native-picker/picker": { "version": "2.11.1", "resolved": "https://registry.npmjs.org/@react-native-picker/picker/-/picker-2.11.1.tgz", diff --git a/package.json b/package.json index b3739a8..1682f8c 100644 --- a/package.json +++ b/package.json @@ -20,6 +20,7 @@ "@emotion/unitless": "^0.10.0", "@expo/vector-icons": "^14.0.2", "@react-native-async-storage/async-storage": "^1.24.0", + "@react-native-firebase/app": "^23.1.1", "@react-native-picker/picker": "^2.11.1", "@react-navigation/native": "^7.1.17", "expo": "^53.0.20",