Просмотр исходного кода

[iOS] Fix warning about RCTBatchedBridge deprecation

It's removed in RN >= 0.55. This aligns the project with the official
documentation: https://facebook.github.io/react-native/docs/integration-with-existing-apps.html#configuring-cocoapods-dependencies
master
Saúl Ibarra Corretgé 7 лет назад
Родитель
Сommit
e93c9dde5d
2 измененных файлов: 56 добавлений и 9 удалений
  1. 8
    1
      ios/Podfile
  2. 48
    8
      ios/Podfile.lock

+ 8
- 1
ios/Podfile Просмотреть файл

@@ -7,7 +7,7 @@ target 'JitsiMeet' do
7 7
 
8 8
   pod 'React', :path => '../node_modules/react-native', :subspecs => [
9 9
     'Core',
10
-    'BatchedBridge',
10
+    'CxxBridge',
11 11
     'DevSupport',
12 12
     'RCTActionSheet',
13 13
     'RCTAnimation',
@@ -19,6 +19,13 @@ target 'JitsiMeet' do
19 19
   ]
20 20
   pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
21 21
 
22
+  pod 'DoubleConversion',
23
+    :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
24
+  pod 'GLog',
25
+    :podspec => '../node_modules/react-native/third-party-podspecs/GLog.podspec'
26
+  pod 'Folly',
27
+    :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
28
+
22 29
   pod 'react-native-background-timer',
23 30
     :path => '../node_modules/react-native-background-timer'
24 31
   pod 'react-native-fetch-blob',

+ 48
- 8
ios/Podfile.lock Просмотреть файл

@@ -1,4 +1,25 @@
1 1
 PODS:
2
+  - boost (1.59.0):
3
+    - boost/graph-includes (= 1.59.0)
4
+    - boost/math-includes (= 1.59.0)
5
+    - boost/numeric-includes (= 1.59.0)
6
+    - boost/pointer_cast-includes (= 1.59.0)
7
+    - boost/preprocessor-includes (= 1.59.0)
8
+    - boost/shared_ptr-includes (= 1.59.0)
9
+    - boost/string_algorithms-includes (= 1.59.0)
10
+  - boost/graph-includes (1.59.0)
11
+  - boost/math-includes (1.59.0)
12
+  - boost/numeric-includes (1.59.0)
13
+  - boost/pointer_cast-includes (1.59.0)
14
+  - boost/preprocessor-includes (1.59.0)
15
+  - boost/shared_ptr-includes (1.59.0)
16
+  - boost/string_algorithms-includes (1.59.0)
17
+  - DoubleConversion (1.1.5)
18
+  - Folly (2016.09.26.00):
19
+    - boost
20
+    - DoubleConversion
21
+    - GLog
22
+  - GLog (0.3.4)
2 23
   - React (0.51.0):
3 24
     - React/Core (= 0.51.0)
4 25
   - react-native-background-timer (2.0.0):
@@ -13,18 +34,24 @@ PODS:
13 34
     - React
14 35
   - react-native-webrtc (1.58.2):
15 36
     - React
16
-  - React/BatchedBridge (0.51.0):
17
-    - React/Core
18
-    - React/cxxreact_legacy
19 37
   - React/Core (0.51.0):
20 38
     - yoga (= 0.51.0.React)
21
-  - React/cxxreact_legacy (0.51.0):
22
-    - React/jschelpers_legacy
39
+  - React/CxxBridge (0.51.0):
40
+    - Folly (= 2016.09.26.00)
41
+    - React/Core
42
+    - React/cxxreact
43
+  - React/cxxreact (0.51.0):
44
+    - boost
45
+    - Folly (= 2016.09.26.00)
46
+    - React/jschelpers
23 47
   - React/DevSupport (0.51.0):
24 48
     - React/Core
25 49
     - React/RCTWebSocket
26 50
   - React/fishhook (0.51.0)
27
-  - React/jschelpers_legacy (0.51.0)
51
+  - React/jschelpers (0.51.0):
52
+    - Folly (= 2016.09.26.00)
53
+    - React/PrivateDatabase
54
+  - React/PrivateDatabase (0.51.0)
28 55
   - React/RCTActionSheet (0.51.0):
29 56
     - React/Core
30 57
   - React/RCTAnimation (0.51.0):
@@ -54,14 +81,17 @@ PODS:
54 81
   - yoga (0.51.0.React)
55 82
 
56 83
 DEPENDENCIES:
84
+  - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
85
+  - Folly (from `../node_modules/react-native/third-party-podspecs/Folly.podspec`)
86
+  - GLog (from `../node_modules/react-native/third-party-podspecs/GLog.podspec`)
57 87
   - react-native-background-timer (from `../node_modules/react-native-background-timer`)
58 88
   - react-native-calendar-events (from `../node_modules/react-native-calendar-events`)
59 89
   - react-native-fetch-blob (from `../node_modules/react-native-fetch-blob`)
60 90
   - react-native-keep-awake (from `../node_modules/react-native-keep-awake`)
61 91
   - react-native-locale-detector (from `../node_modules/react-native-locale-detector`)
62 92
   - react-native-webrtc (from `../node_modules/react-native-webrtc`)
63
-  - React/BatchedBridge (from `../node_modules/react-native`)
64 93
   - React/Core (from `../node_modules/react-native`)
94
+  - React/CxxBridge (from `../node_modules/react-native`)
65 95
   - React/DevSupport (from `../node_modules/react-native`)
66 96
   - React/RCTActionSheet (from `../node_modules/react-native`)
67 97
   - React/RCTAnimation (from `../node_modules/react-native`)
@@ -75,6 +105,12 @@ DEPENDENCIES:
75 105
   - yoga (from `../node_modules/react-native/ReactCommon/yoga`)
76 106
 
77 107
 EXTERNAL SOURCES:
108
+  DoubleConversion:
109
+    :podspec: ../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec
110
+  Folly:
111
+    :podspec: ../node_modules/react-native/third-party-podspecs/Folly.podspec
112
+  GLog:
113
+    :podspec: ../node_modules/react-native/third-party-podspecs/GLog.podspec
78 114
   React:
79 115
     :path: ../node_modules/react-native
80 116
   react-native-background-timer:
@@ -97,6 +133,10 @@ EXTERNAL SOURCES:
97 133
     :path: ../node_modules/react-native/ReactCommon/yoga
98 134
 
99 135
 SPEC CHECKSUMS:
136
+  boost: 30a15ffb6d9aa4646dd3caffc960753f4cb4ca4e
137
+  DoubleConversion: ebb6747c5b66026ad4f97b789c3ceac6f18e57a6
138
+  Folly: b7255b29f1d693c375d642d0f04f0592181156d9
139
+  GLog: 3e4e4ae9746ce6bf6e9420c7fc1e08ad59c8ba1a
100 140
   React: 541ba768b9855e10cdc76f55427a5cd0653ca806
101 141
   react-native-background-timer: 63dcbf37dbcf294b5c6c071afcdc661fa06a7594
102 142
   react-native-calendar-events: fe6fbc8ed337a7423c98f2c9012b25f20444de09
@@ -108,6 +148,6 @@ SPEC CHECKSUMS:
108 148
   RNVectorIcons: c0dbfbf6068fefa240c37b0f71bd03b45dddac44
109 149
   yoga: 17521bbb0dd54a47c0b3ac43253e78cdac7488e0
110 150
 
111
-PODFILE CHECKSUM: 4a5a310403b99b9c2d619e0b18da89bf0fe5858c
151
+PODFILE CHECKSUM: fb462dc2d5d01656ec1f4ae39253903a702ba30c
112 152
 
113 153
 COCOAPODS: 1.4.0

Загрузка…
Отмена
Сохранить