Skip to content

Commit 2dceffc

Browse files
Setup firebase
1 parent 593cc0d commit 2dceffc

File tree

9 files changed

+280
-95
lines changed

9 files changed

+280
-95
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ buck-out/
5757

5858
# CocoaPods
5959
/ios/Pods/
60+
61+
ios/GoogleService-Info.plist
62+
63+
android/app/google-services.json

android/app/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,3 +225,4 @@ task copyDownloadableDepsToLibs(type: Copy) {
225225
}
226226

227227
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
228+
apply plugin: 'com.google.gms.google-services'

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ buildscript {
1313
}
1414
dependencies {
1515
classpath('com.android.tools.build:gradle:3.6.2')
16-
16+
classpath 'com.google.gms:google-services:4.3.3'
1717
// NOTE: Do not place your application dependencies here; they belong
1818
// in the individual module build.gradle files
1919
}

ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def add_flipper_pods!(versions = {})
3131
pod 'FlipperKit/FlipperKitHighlightOverlay', versions['Flipper'], :configuration => 'Debug'
3232
pod 'FlipperKit/FlipperKitLayoutTextSearchable', versions['Flipper'], :configuration => 'Debug'
3333
pod 'FlipperKit/FlipperKitNetworkPlugin', versions['Flipper'], :configuration => 'Debug'
34+
35+
pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
3436
end
3537

3638
# Post Install processing for Flipper
@@ -77,8 +79,6 @@ target 'webrtc_firebase' do
7779
pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
7880
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
7981

80-
pod 'react-native-webrtc', :path => '../node_modules/react-native-webrtc'
81-
8282
target 'webrtc_firebaseTests' do
8383
inherit! :complete
8484
# Pods for testing

ios/Podfile.lock

Lines changed: 98 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,50 @@ PODS:
1111
- React-Core (= 0.62.2)
1212
- React-jsi (= 0.62.2)
1313
- ReactCommon/turbomodule/core (= 0.62.2)
14+
- Firebase/Core (6.13.0):
15+
- Firebase/CoreOnly
16+
- FirebaseAnalytics (= 6.1.6)
17+
- Firebase/CoreOnly (6.13.0):
18+
- FirebaseCore (= 6.4.0)
19+
- FirebaseAnalytics (6.1.6):
20+
- FirebaseCore (~> 6.4)
21+
- FirebaseInstanceID (~> 4.2)
22+
- GoogleAppMeasurement (= 6.1.6)
23+
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
24+
- GoogleUtilities/MethodSwizzler (~> 6.0)
25+
- GoogleUtilities/Network (~> 6.0)
26+
- "GoogleUtilities/NSData+zlib (~> 6.0)"
27+
- nanopb (= 0.3.9011)
28+
- FirebaseCore (6.4.0):
29+
- FirebaseCoreDiagnostics (~> 1.0)
30+
- FirebaseCoreDiagnosticsInterop (~> 1.0)
31+
- GoogleUtilities/Environment (~> 6.2)
32+
- GoogleUtilities/Logger (~> 6.2)
33+
- FirebaseCoreDiagnostics (1.2.3):
34+
- FirebaseCoreDiagnosticsInterop (~> 1.2)
35+
- GoogleDataTransportCCTSupport (~> 2.0)
36+
- GoogleUtilities/Environment (~> 6.5)
37+
- GoogleUtilities/Logger (~> 6.5)
38+
- nanopb (~> 0.3.901)
39+
- FirebaseCoreDiagnosticsInterop (1.2.0)
40+
- FirebaseInstanceID (4.2.7):
41+
- FirebaseCore (~> 6.0)
42+
- GoogleUtilities/Environment (~> 6.0)
43+
- GoogleUtilities/UserDefaults (~> 6.0)
1444
- Flipper (0.33.1):
1545
- Flipper-Folly (~> 2.1)
1646
- Flipper-RSocket (~> 1.0)
1747
- Flipper-DoubleConversion (1.1.7)
18-
- Flipper-Folly (2.1.1):
48+
- Flipper-Folly (2.2.0):
1949
- boost-for-react-native
2050
- CocoaLibEvent (~> 1.0)
2151
- Flipper-DoubleConversion
2252
- Flipper-Glog
2353
- OpenSSL-Universal (= 1.0.2.19)
2454
- Flipper-Glog (0.3.6)
2555
- Flipper-PeerTalk (0.0.4)
26-
- Flipper-RSocket (1.0.0):
27-
- Flipper-Folly (~> 2.0)
56+
- Flipper-RSocket (1.1.0):
57+
- Flipper-Folly (~> 2.2)
2858
- FlipperKit (0.33.1):
2959
- FlipperKit/Core (= 0.33.1)
3060
- FlipperKit/Core (0.33.1):
@@ -67,6 +97,39 @@ PODS:
6797
- DoubleConversion
6898
- glog
6999
- glog (0.3.5)
100+
- GoogleAppMeasurement (6.1.6):
101+
- GoogleUtilities/AppDelegateSwizzler (~> 6.0)
102+
- GoogleUtilities/MethodSwizzler (~> 6.0)
103+
- GoogleUtilities/Network (~> 6.0)
104+
- "GoogleUtilities/NSData+zlib (~> 6.0)"
105+
- nanopb (= 0.3.9011)
106+
- GoogleDataTransport (5.1.1)
107+
- GoogleDataTransportCCTSupport (2.0.2):
108+
- GoogleDataTransport (~> 5.1)
109+
- nanopb (~> 0.3.901)
110+
- GoogleUtilities/AppDelegateSwizzler (6.5.2):
111+
- GoogleUtilities/Environment
112+
- GoogleUtilities/Logger
113+
- GoogleUtilities/Network
114+
- GoogleUtilities/Environment (6.5.2)
115+
- GoogleUtilities/Logger (6.5.2):
116+
- GoogleUtilities/Environment
117+
- GoogleUtilities/MethodSwizzler (6.5.2):
118+
- GoogleUtilities/Logger
119+
- GoogleUtilities/Network (6.5.2):
120+
- GoogleUtilities/Logger
121+
- "GoogleUtilities/NSData+zlib"
122+
- GoogleUtilities/Reachability
123+
- "GoogleUtilities/NSData+zlib (6.5.2)"
124+
- GoogleUtilities/Reachability (6.5.2):
125+
- GoogleUtilities/Logger
126+
- GoogleUtilities/UserDefaults (6.5.2):
127+
- GoogleUtilities/Logger
128+
- nanopb (0.3.9011):
129+
- nanopb/decode (= 0.3.9011)
130+
- nanopb/encode (= 0.3.9011)
131+
- nanopb/decode (0.3.9011)
132+
- nanopb/encode (0.3.9011)
70133
- OpenSSL-Universal (1.0.2.19):
71134
- OpenSSL-Universal/Static (= 1.0.2.19)
72135
- OpenSSL-Universal/Static (1.0.2.19)
@@ -294,6 +357,9 @@ PODS:
294357
- React-cxxreact (= 0.62.2)
295358
- React-jsi (= 0.62.2)
296359
- ReactCommon/callinvoker (= 0.62.2)
360+
- RNFBApp (6.4.0):
361+
- Firebase/Core (~> 6.13.0)
362+
- React
297363
- Yoga (1.14.0)
298364
- YogaKit (1.18.1):
299365
- Yoga (~> 1.14)
@@ -346,20 +412,32 @@ DEPENDENCIES:
346412
- React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`)
347413
- ReactCommon/callinvoker (from `../node_modules/react-native/ReactCommon`)
348414
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
415+
- "RNFBApp (from `../node_modules/@react-native-firebase/app`)"
349416
- Yoga (from `../node_modules/react-native/ReactCommon/yoga`)
350417

351418
SPEC REPOS:
352419
trunk:
353420
- boost-for-react-native
354421
- CocoaAsyncSocket
355422
- CocoaLibEvent
423+
- Firebase
424+
- FirebaseAnalytics
425+
- FirebaseCore
426+
- FirebaseCoreDiagnostics
427+
- FirebaseCoreDiagnosticsInterop
428+
- FirebaseInstanceID
356429
- Flipper
357430
- Flipper-DoubleConversion
358431
- Flipper-Folly
359432
- Flipper-Glog
360433
- Flipper-PeerTalk
361434
- Flipper-RSocket
362435
- FlipperKit
436+
- GoogleAppMeasurement
437+
- GoogleDataTransport
438+
- GoogleDataTransportCCTSupport
439+
- GoogleUtilities
440+
- nanopb
363441
- OpenSSL-Universal
364442
- YogaKit
365443

@@ -414,6 +492,8 @@ EXTERNAL SOURCES:
414492
:path: "../node_modules/react-native/Libraries/Vibration"
415493
ReactCommon:
416494
:path: "../node_modules/react-native/ReactCommon"
495+
RNFBApp:
496+
:path: "../node_modules/@react-native-firebase/app"
417497
Yoga:
418498
:path: "../node_modules/react-native/ReactCommon/yoga"
419499

@@ -424,15 +504,26 @@ SPEC CHECKSUMS:
424504
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
425505
FBLazyVector: 4aab18c93cd9546e4bfed752b4084585eca8b245
426506
FBReactNativeSpec: 5465d51ccfeecb7faa12f9ae0024f2044ce4044e
507+
Firebase: 458d109512200d1aca2e1b9b6cf7d68a869a4a46
508+
FirebaseAnalytics: 45f36d9c429fc91d206283900ab75390cd05ee8a
509+
FirebaseCore: 307ea2508df730c5865334e41965bd9ea344b0e5
510+
FirebaseCoreDiagnostics: 13a6564cd6d5375066bbc8940cc1753af24497f3
511+
FirebaseCoreDiagnosticsInterop: 296e2c5f5314500a850ad0b83e9e7c10b011a850
512+
FirebaseInstanceID: ebd2ea79ee38db0cb5f5167b17a0d387e1cc7b6e
427513
Flipper: 6c1f484f9a88d30ab3e272800d53688439e50f69
428514
Flipper-DoubleConversion: 38631e41ef4f9b12861c67d17cb5518d06badc41
429-
Flipper-Folly: 2de3d03e0acc7064d5e4ed9f730e2f217486f162
515+
Flipper-Folly: c12092ea368353b58e992843a990a3225d4533c3
430516
Flipper-Glog: 1dfd6abf1e922806c52ceb8701a3599a79a200a6
431517
Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9
432-
Flipper-RSocket: 1260a31c05c238eabfa9bb8a64e3983049048371
518+
Flipper-RSocket: 64e7431a55835eb953b0bf984ef3b90ae9fdddd7
433519
FlipperKit: 6dc9b8f4ef60d9e5ded7f0264db299c91f18832e
434520
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
435521
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
522+
GoogleAppMeasurement: dfe55efa543e899d906309eaaac6ca26d249862f
523+
GoogleDataTransport: 6ffa4dd0b6d547f8d27b91bd92fa9e197a3f5f1f
524+
GoogleDataTransportCCTSupport: 12f02e5c8f09c055615de90bcd5ba2c375546051
525+
GoogleUtilities: ad0f3b691c67909d03a3327cc205222ab8f42e0e
526+
nanopb: 18003b5e52dab79db540fe93fe9579f399bd1ccd
436527
OpenSSL-Universal: 8b48cc0d10c1b2923617dfe5c178aa9ed2689355
437528
RCTRequired: cec6a34b3ac8a9915c37e7e4ad3aa74726ce4035
438529
RCTTypeSafety: 93006131180074cffa227a1075802c89a49dd4ce
@@ -454,9 +545,10 @@ SPEC CHECKSUMS:
454545
React-RCTText: fae545b10cfdb3d247c36c56f61a94cfd6dba41d
455546
React-RCTVibration: 4356114dbcba4ce66991096e51a66e61eda51256
456547
ReactCommon: ed4e11d27609d571e7eee8b65548efc191116eb3
548+
RNFBApp: 69781cf10ce41f6f6db789e6264dd80119ef2fb7
457549
Yoga: 3ebccbdd559724312790e7742142d062476b698e
458550
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a
459551

460-
PODFILE CHECKSUM: d2444bc0abb39fb909c380452205bf1f55410b6b
552+
PODFILE CHECKSUM: a52e5fd556e4179c9b26bc51c7b5ce0e90681f26
461553

462554
COCOAPODS: 1.9.1

0 commit comments

Comments
 (0)