Skip to content

Commit 1c67d7c

Browse files
author
Kai Guo
committed
More fixes
1 parent b46b068 commit 1c67d7c

File tree

4 files changed

+351
-1
lines changed

4 files changed

+351
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,10 @@ jobs:
184184
- save-cache: *cache_save_gradle_build
185185

186186
# Build and test
187+
- run:
188+
name: Bundle
189+
command: mkdir example/android/app/src/main/assets && react-native bundle --platform android --dev false --entry-file example/index.js --bundle-output example/android/app/src/main/assets/index.android.bundle --assets-dest example/android/app/src/main/res/
190+
187191
- run:
188192
name: Build Android apk
189193
command: cd example/android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release --max-workers 2 -x bundleReleaseJsAndAssets

.circleci/scripts/run_android_e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ build_apk() {
1212
echo
1313
echo "[Detox e2e] Building APK"
1414
eval "mkdir example/android/app/src/main/assets"
15-
eval "react-native bundle --platform android --dev false --entry-file example/index.js --bundle-output example/android/app/src/main/assets/index.bundle --assets-dest example/android/app/src/main/res/"
15+
eval "react-native bundle --platform android --dev false --entry-file example/index.js --bundle-output example/android/app/src/main/assets/index.android.bundle --assets-dest example/android/app/src/main/res/"
1616
cd "example/android"
1717
eval "./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release -x bundleReleaseJsAndAssets"
1818
cd ${ROOT_DIR}

example/android/app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ project.ext.react = [
7878
entryFile: "./example/index.js",
7979
root: "../../../",
8080
enableHermes: false,
81+
bundleInDebug: false,
82+
bundleInRelease: true
8183
]
8284

8385

example/ios/Podfile.lock

Lines changed: 344 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,344 @@
1+
PODS:
2+
- boost-for-react-native (1.63.0)
3+
- DoubleConversion (1.1.6)
4+
- FBLazyVector (0.61.5)
5+
- FBReactNativeSpec (0.61.5):
6+
- Folly (= 2018.10.22.00)
7+
- RCTRequired (= 0.61.5)
8+
- RCTTypeSafety (= 0.61.5)
9+
- React-Core (= 0.61.5)
10+
- React-jsi (= 0.61.5)
11+
- ReactCommon/turbomodule/core (= 0.61.5)
12+
- Folly (2018.10.22.00):
13+
- boost-for-react-native
14+
- DoubleConversion
15+
- Folly/Default (= 2018.10.22.00)
16+
- glog
17+
- Folly/Default (2018.10.22.00):
18+
- boost-for-react-native
19+
- DoubleConversion
20+
- glog
21+
- glog (0.3.5)
22+
- RCTRequired (0.61.5)
23+
- RCTTypeSafety (0.61.5):
24+
- FBLazyVector (= 0.61.5)
25+
- Folly (= 2018.10.22.00)
26+
- RCTRequired (= 0.61.5)
27+
- React-Core (= 0.61.5)
28+
- React (0.61.5):
29+
- React-Core (= 0.61.5)
30+
- React-Core/DevSupport (= 0.61.5)
31+
- React-Core/RCTWebSocket (= 0.61.5)
32+
- React-RCTActionSheet (= 0.61.5)
33+
- React-RCTAnimation (= 0.61.5)
34+
- React-RCTBlob (= 0.61.5)
35+
- React-RCTImage (= 0.61.5)
36+
- React-RCTLinking (= 0.61.5)
37+
- React-RCTNetwork (= 0.61.5)
38+
- React-RCTSettings (= 0.61.5)
39+
- React-RCTText (= 0.61.5)
40+
- React-RCTVibration (= 0.61.5)
41+
- React-Core (0.61.5):
42+
- Folly (= 2018.10.22.00)
43+
- glog
44+
- React-Core/Default (= 0.61.5)
45+
- React-cxxreact (= 0.61.5)
46+
- React-jsi (= 0.61.5)
47+
- React-jsiexecutor (= 0.61.5)
48+
- Yoga
49+
- React-Core/CoreModulesHeaders (0.61.5):
50+
- Folly (= 2018.10.22.00)
51+
- glog
52+
- React-Core/Default
53+
- React-cxxreact (= 0.61.5)
54+
- React-jsi (= 0.61.5)
55+
- React-jsiexecutor (= 0.61.5)
56+
- Yoga
57+
- React-Core/Default (0.61.5):
58+
- Folly (= 2018.10.22.00)
59+
- glog
60+
- React-cxxreact (= 0.61.5)
61+
- React-jsi (= 0.61.5)
62+
- React-jsiexecutor (= 0.61.5)
63+
- Yoga
64+
- React-Core/DevSupport (0.61.5):
65+
- Folly (= 2018.10.22.00)
66+
- glog
67+
- React-Core/Default (= 0.61.5)
68+
- React-Core/RCTWebSocket (= 0.61.5)
69+
- React-cxxreact (= 0.61.5)
70+
- React-jsi (= 0.61.5)
71+
- React-jsiexecutor (= 0.61.5)
72+
- React-jsinspector (= 0.61.5)
73+
- Yoga
74+
- React-Core/RCTActionSheetHeaders (0.61.5):
75+
- Folly (= 2018.10.22.00)
76+
- glog
77+
- React-Core/Default
78+
- React-cxxreact (= 0.61.5)
79+
- React-jsi (= 0.61.5)
80+
- React-jsiexecutor (= 0.61.5)
81+
- Yoga
82+
- React-Core/RCTAnimationHeaders (0.61.5):
83+
- Folly (= 2018.10.22.00)
84+
- glog
85+
- React-Core/Default
86+
- React-cxxreact (= 0.61.5)
87+
- React-jsi (= 0.61.5)
88+
- React-jsiexecutor (= 0.61.5)
89+
- Yoga
90+
- React-Core/RCTBlobHeaders (0.61.5):
91+
- Folly (= 2018.10.22.00)
92+
- glog
93+
- React-Core/Default
94+
- React-cxxreact (= 0.61.5)
95+
- React-jsi (= 0.61.5)
96+
- React-jsiexecutor (= 0.61.5)
97+
- Yoga
98+
- React-Core/RCTImageHeaders (0.61.5):
99+
- Folly (= 2018.10.22.00)
100+
- glog
101+
- React-Core/Default
102+
- React-cxxreact (= 0.61.5)
103+
- React-jsi (= 0.61.5)
104+
- React-jsiexecutor (= 0.61.5)
105+
- Yoga
106+
- React-Core/RCTLinkingHeaders (0.61.5):
107+
- Folly (= 2018.10.22.00)
108+
- glog
109+
- React-Core/Default
110+
- React-cxxreact (= 0.61.5)
111+
- React-jsi (= 0.61.5)
112+
- React-jsiexecutor (= 0.61.5)
113+
- Yoga
114+
- React-Core/RCTNetworkHeaders (0.61.5):
115+
- Folly (= 2018.10.22.00)
116+
- glog
117+
- React-Core/Default
118+
- React-cxxreact (= 0.61.5)
119+
- React-jsi (= 0.61.5)
120+
- React-jsiexecutor (= 0.61.5)
121+
- Yoga
122+
- React-Core/RCTSettingsHeaders (0.61.5):
123+
- Folly (= 2018.10.22.00)
124+
- glog
125+
- React-Core/Default
126+
- React-cxxreact (= 0.61.5)
127+
- React-jsi (= 0.61.5)
128+
- React-jsiexecutor (= 0.61.5)
129+
- Yoga
130+
- React-Core/RCTTextHeaders (0.61.5):
131+
- Folly (= 2018.10.22.00)
132+
- glog
133+
- React-Core/Default
134+
- React-cxxreact (= 0.61.5)
135+
- React-jsi (= 0.61.5)
136+
- React-jsiexecutor (= 0.61.5)
137+
- Yoga
138+
- React-Core/RCTVibrationHeaders (0.61.5):
139+
- Folly (= 2018.10.22.00)
140+
- glog
141+
- React-Core/Default
142+
- React-cxxreact (= 0.61.5)
143+
- React-jsi (= 0.61.5)
144+
- React-jsiexecutor (= 0.61.5)
145+
- Yoga
146+
- React-Core/RCTWebSocket (0.61.5):
147+
- Folly (= 2018.10.22.00)
148+
- glog
149+
- React-Core/Default (= 0.61.5)
150+
- React-cxxreact (= 0.61.5)
151+
- React-jsi (= 0.61.5)
152+
- React-jsiexecutor (= 0.61.5)
153+
- Yoga
154+
- React-CoreModules (0.61.5):
155+
- FBReactNativeSpec (= 0.61.5)
156+
- Folly (= 2018.10.22.00)
157+
- RCTTypeSafety (= 0.61.5)
158+
- React-Core/CoreModulesHeaders (= 0.61.5)
159+
- React-RCTImage (= 0.61.5)
160+
- ReactCommon/turbomodule/core (= 0.61.5)
161+
- React-cxxreact (0.61.5):
162+
- boost-for-react-native (= 1.63.0)
163+
- DoubleConversion
164+
- Folly (= 2018.10.22.00)
165+
- glog
166+
- React-jsinspector (= 0.61.5)
167+
- React-jsi (0.61.5):
168+
- boost-for-react-native (= 1.63.0)
169+
- DoubleConversion
170+
- Folly (= 2018.10.22.00)
171+
- glog
172+
- React-jsi/Default (= 0.61.5)
173+
- React-jsi/Default (0.61.5):
174+
- boost-for-react-native (= 1.63.0)
175+
- DoubleConversion
176+
- Folly (= 2018.10.22.00)
177+
- glog
178+
- React-jsiexecutor (0.61.5):
179+
- DoubleConversion
180+
- Folly (= 2018.10.22.00)
181+
- glog
182+
- React-cxxreact (= 0.61.5)
183+
- React-jsi (= 0.61.5)
184+
- React-jsinspector (0.61.5)
185+
- React-RCTActionSheet (0.61.5):
186+
- React-Core/RCTActionSheetHeaders (= 0.61.5)
187+
- React-RCTAnimation (0.61.5):
188+
- React-Core/RCTAnimationHeaders (= 0.61.5)
189+
- React-RCTBlob (0.61.5):
190+
- React-Core/RCTBlobHeaders (= 0.61.5)
191+
- React-Core/RCTWebSocket (= 0.61.5)
192+
- React-jsi (= 0.61.5)
193+
- React-RCTNetwork (= 0.61.5)
194+
- React-RCTImage (0.61.5):
195+
- React-Core/RCTImageHeaders (= 0.61.5)
196+
- React-RCTNetwork (= 0.61.5)
197+
- React-RCTLinking (0.61.5):
198+
- React-Core/RCTLinkingHeaders (= 0.61.5)
199+
- React-RCTNetwork (0.61.5):
200+
- React-Core/RCTNetworkHeaders (= 0.61.5)
201+
- React-RCTSettings (0.61.5):
202+
- React-Core/RCTSettingsHeaders (= 0.61.5)
203+
- React-RCTText (0.61.5):
204+
- React-Core/RCTTextHeaders (= 0.61.5)
205+
- React-RCTVibration (0.61.5):
206+
- React-Core/RCTVibrationHeaders (= 0.61.5)
207+
- ReactCommon/jscallinvoker (0.61.5):
208+
- DoubleConversion
209+
- Folly (= 2018.10.22.00)
210+
- glog
211+
- React-cxxreact (= 0.61.5)
212+
- ReactCommon/turbomodule/core (0.61.5):
213+
- DoubleConversion
214+
- Folly (= 2018.10.22.00)
215+
- glog
216+
- React-Core (= 0.61.5)
217+
- React-cxxreact (= 0.61.5)
218+
- React-jsi (= 0.61.5)
219+
- ReactCommon/jscallinvoker (= 0.61.5)
220+
- RNCAsyncStorage (1.9.0):
221+
- React
222+
- Yoga (1.14.0)
223+
224+
DEPENDENCIES:
225+
- DoubleConversion (from `../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
226+
- FBLazyVector (from `../../node_modules/react-native/Libraries/FBLazyVector`)
227+
- FBReactNativeSpec (from `../../node_modules/react-native/Libraries/FBReactNativeSpec`)
228+
- Folly (from `../../node_modules/react-native/third-party-podspecs/Folly.podspec`)
229+
- glog (from `../../node_modules/react-native/third-party-podspecs/glog.podspec`)
230+
- RCTRequired (from `../../node_modules/react-native/Libraries/RCTRequired`)
231+
- RCTTypeSafety (from `../../node_modules/react-native/Libraries/TypeSafety`)
232+
- React (from `../../node_modules/react-native/`)
233+
- React-Core (from `../../node_modules/react-native/`)
234+
- React-Core/DevSupport (from `../../node_modules/react-native/`)
235+
- React-Core/RCTWebSocket (from `../../node_modules/react-native/`)
236+
- React-CoreModules (from `../../node_modules/react-native/React/CoreModules`)
237+
- React-cxxreact (from `../../node_modules/react-native/ReactCommon/cxxreact`)
238+
- React-jsi (from `../../node_modules/react-native/ReactCommon/jsi`)
239+
- React-jsiexecutor (from `../../node_modules/react-native/ReactCommon/jsiexecutor`)
240+
- React-jsinspector (from `../../node_modules/react-native/ReactCommon/jsinspector`)
241+
- React-RCTActionSheet (from `../../node_modules/react-native/Libraries/ActionSheetIOS`)
242+
- React-RCTAnimation (from `../../node_modules/react-native/Libraries/NativeAnimation`)
243+
- React-RCTBlob (from `../../node_modules/react-native/Libraries/Blob`)
244+
- React-RCTImage (from `../../node_modules/react-native/Libraries/Image`)
245+
- React-RCTLinking (from `../../node_modules/react-native/Libraries/LinkingIOS`)
246+
- React-RCTNetwork (from `../../node_modules/react-native/Libraries/Network`)
247+
- React-RCTSettings (from `../../node_modules/react-native/Libraries/Settings`)
248+
- React-RCTText (from `../../node_modules/react-native/Libraries/Text`)
249+
- React-RCTVibration (from `../../node_modules/react-native/Libraries/Vibration`)
250+
- ReactCommon/jscallinvoker (from `../../node_modules/react-native/ReactCommon`)
251+
- ReactCommon/turbomodule/core (from `../../node_modules/react-native/ReactCommon`)
252+
- RNCAsyncStorage (from `../..`)
253+
- Yoga (from `../../node_modules/react-native/ReactCommon/yoga`)
254+
255+
SPEC REPOS:
256+
trunk:
257+
- boost-for-react-native
258+
259+
EXTERNAL SOURCES:
260+
DoubleConversion:
261+
:podspec: "../../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
262+
FBLazyVector:
263+
:path: "../../node_modules/react-native/Libraries/FBLazyVector"
264+
FBReactNativeSpec:
265+
:path: "../../node_modules/react-native/Libraries/FBReactNativeSpec"
266+
Folly:
267+
:podspec: "../../node_modules/react-native/third-party-podspecs/Folly.podspec"
268+
glog:
269+
:podspec: "../../node_modules/react-native/third-party-podspecs/glog.podspec"
270+
RCTRequired:
271+
:path: "../../node_modules/react-native/Libraries/RCTRequired"
272+
RCTTypeSafety:
273+
:path: "../../node_modules/react-native/Libraries/TypeSafety"
274+
React:
275+
:path: "../../node_modules/react-native/"
276+
React-Core:
277+
:path: "../../node_modules/react-native/"
278+
React-CoreModules:
279+
:path: "../../node_modules/react-native/React/CoreModules"
280+
React-cxxreact:
281+
:path: "../../node_modules/react-native/ReactCommon/cxxreact"
282+
React-jsi:
283+
:path: "../../node_modules/react-native/ReactCommon/jsi"
284+
React-jsiexecutor:
285+
:path: "../../node_modules/react-native/ReactCommon/jsiexecutor"
286+
React-jsinspector:
287+
:path: "../../node_modules/react-native/ReactCommon/jsinspector"
288+
React-RCTActionSheet:
289+
:path: "../../node_modules/react-native/Libraries/ActionSheetIOS"
290+
React-RCTAnimation:
291+
:path: "../../node_modules/react-native/Libraries/NativeAnimation"
292+
React-RCTBlob:
293+
:path: "../../node_modules/react-native/Libraries/Blob"
294+
React-RCTImage:
295+
:path: "../../node_modules/react-native/Libraries/Image"
296+
React-RCTLinking:
297+
:path: "../../node_modules/react-native/Libraries/LinkingIOS"
298+
React-RCTNetwork:
299+
:path: "../../node_modules/react-native/Libraries/Network"
300+
React-RCTSettings:
301+
:path: "../../node_modules/react-native/Libraries/Settings"
302+
React-RCTText:
303+
:path: "../../node_modules/react-native/Libraries/Text"
304+
React-RCTVibration:
305+
:path: "../../node_modules/react-native/Libraries/Vibration"
306+
ReactCommon:
307+
:path: "../../node_modules/react-native/ReactCommon"
308+
RNCAsyncStorage:
309+
:path: "../.."
310+
Yoga:
311+
:path: "../../node_modules/react-native/ReactCommon/yoga"
312+
313+
SPEC CHECKSUMS:
314+
boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c
315+
DoubleConversion: 5805e889d232975c086db112ece9ed034df7a0b2
316+
FBLazyVector: aaeaf388755e4f29cd74acbc9e3b8da6d807c37f
317+
FBReactNativeSpec: 118d0d177724c2d67f08a59136eb29ef5943ec75
318+
Folly: 30e7936e1c45c08d884aa59369ed951a8e68cf51
319+
glog: 1f3da668190260b06b429bb211bfbee5cd790c28
320+
RCTRequired: b153add4da6e7dbc44aebf93f3cf4fcae392ddf1
321+
RCTTypeSafety: 9aa1b91d7f9310fc6eadc3cf95126ffe818af320
322+
React: b6a59ef847b2b40bb6e0180a97d0ca716969ac78
323+
React-Core: 688b451f7d616cc1134ac95295b593d1b5158a04
324+
React-CoreModules: d04f8494c1a328b69ec11db9d1137d667f916dcb
325+
React-cxxreact: d0f7bcafa196ae410e5300736b424455e7fb7ba7
326+
React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
327+
React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
328+
React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
329+
React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
330+
React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
331+
React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72
332+
React-RCTImage: 6b8e8df449eb7c814c99a92d6b52de6fe39dea4e
333+
React-RCTLinking: 121bb231c7503cf9094f4d8461b96a130fabf4a5
334+
React-RCTNetwork: fb353640aafcee84ca8b78957297bd395f065c9a
335+
React-RCTSettings: 8db258ea2a5efee381fcf7a6d5044e2f8b68b640
336+
React-RCTText: 9ccc88273e9a3aacff5094d2175a605efa854dbe
337+
React-RCTVibration: a49a1f42bf8f5acf1c3e297097517c6b3af377ad
338+
ReactCommon: 198c7c8d3591f975e5431bec1b0b3b581aa1c5dd
339+
RNCAsyncStorage: 453cd7c335ec9ba3b877e27d02238956b76f3268
340+
Yoga: f2a7cd4280bfe2cca5a7aed98ba0eb3d1310f18b
341+
342+
PODFILE CHECKSUM: 671d541e556bf52feb3b24e4ed556be0dc2bc2fb
343+
344+
COCOAPODS: 1.8.4

0 commit comments

Comments
 (0)