Skip to content

Commit 16a12d8

Browse files
committed
[build]: upgrade react-native
1 parent 1338ff7 commit 16a12d8

File tree

105 files changed

+273
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+273
-180
lines changed

.flowconfig

Lines changed: 11 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,18 @@
11
[ignore]
2+
; We fork some components by platform
3+
.*/*[.]android.js
24

3-
# We fork some components by platform.
4-
.*/*.android.js
5-
6-
# Ignore templates with `@flow` in header
7-
.*/local-cli/generator.*
8-
9-
# Ignore malformed json
10-
.*/node_modules/y18n/test/.*\.json
11-
12-
# Ignore the website subdir
13-
<PROJECT_ROOT>/website/.*
14-
15-
# Ignore BUCK generated dirs
5+
; Ignore "BUCK" generated dirs
166
<PROJECT_ROOT>/\.buckd/
177

18-
# Ignore unexpected extra @providesModule
19-
.*/node_modules/commoner/test/source/widget/share.js
8+
; Ignore unexpected extra "@providesModule"
9+
.*/node_modules/.*/node_modules/fbjs/.*
2010

21-
# Ignore duplicate module providers
22-
# For RN Apps installed via npm, "Libraries" folder is inside node_modules/react-native but in the source repo it is in the root
11+
; Ignore duplicate module providers
12+
; For RN Apps installed via npm, "Libraries" folder is inside
13+
; "node_modules/react-native" but in the source repo it is in the root
2314
.*/Libraries/react-native/React.js
2415
.*/Libraries/react-native/ReactNative.js
25-
.*/node_modules/jest-runtime/build/__tests__/.*
2616

2717
[include]
2818

@@ -34,9 +24,6 @@ flow/
3424
[options]
3525
module.system=haste
3626

37-
esproposal.class_static_fields=enable
38-
esproposal.class_instance_fields=enable
39-
4027
experimental.strict_type_args=true
4128

4229
munge_underscores=true
@@ -48,11 +35,11 @@ suppress_type=$FlowIssue
4835
suppress_type=$FlowFixMe
4936
suppress_type=$FixMe
5037

51-
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(30\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
52-
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(30\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
38+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-5]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
39+
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-5]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
5340
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
5441

5542
unsafe.enable_getters_and_setters=true
5643

5744
[version]
58-
^0.30.0
45+
^0.35.0
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#Thu Sep 22 13:14:21 CST 2016
1+
#Thu Dec 08 15:12:13 CST 2016
Binary file not shown.
89.6 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,6 @@ dependencies {
134134
// Run this once to be able to run the application with BUCK
135135
// puts all compile dependencies into folder libs for BUCK to use
136136
task copyDownloadableDepsToLibs(type: Copy) {
137-
from configurations.compile
138-
into 'libs'
137+
from configurations.compile
138+
into 'libs'
139139
}
Binary file not shown.
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<item name="android:windowNoTitle">true</item>
5050
<item name="android:windowIsFloating">false</item>
5151
<item name="android:windowBackground">@android:color/transparent</item>
52+
<item name="android:windowTranslucentStatus">true</item>
5253
</style>
5354
<style name="Theme.FullScreenDialogAnimatedFade" parent="Theme.FullScreenDialog">
5455
<item name="android:windowAnimationStyle">@style/DialogAnimationFade</item>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<merger version="3"><dataSet config="23.2.1"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/support-v4/23.2.1/assets"/></dataSet><dataSet config="23.0.1"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/assets"/></dataSet><dataSet config="23.0.1"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.0.1/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-base/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.11.0/assets"/></dataSet><dataSet config="r174650"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/org.webkit/android-jsc/r174650/assets"/></dataSet><dataSet config="0.1.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.soloader/soloader/0.1.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp3/0.11.0/assets"/></dataSet><dataSet config="0.33.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/assets"/></dataSet><dataSet config="main"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/src/main/assets"/></dataSet><dataSet config="debug"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/src/debug/assets"/></dataSet></merger>
2+
<merger version="3"><dataSet config="r174650"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/org.webkit/android-jsc/r174650/assets"/></dataSet><dataSet config="0.1.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.soloader/soloader/0.1.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/fbcore/0.11.0/assets"/></dataSet><dataSet config="23.2.1"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/support-v4/23.2.1/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-base/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/imagepipeline-okhttp3/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/drawee/0.11.0/assets"/></dataSet><dataSet config="0.11.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.fresco/fresco/0.11.0/assets"/></dataSet><dataSet config="23.0.1"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/23.0.1/assets"/></dataSet><dataSet config="23.0.1"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/assets"/></dataSet><dataSet config="0.39.0"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/assets"/></dataSet><dataSet config="main"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/src/main/assets"/></dataSet><dataSet config="debug"><source path="/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/src/debug/assets"/></dataSet></merger>

android/app/build/intermediates/incremental/mergeResourcesdebug/merger.xml

Lines changed: 4 additions & 3 deletions
Large diffs are not rendered by default.

android/app/build/intermediates/res/merged/debug/anim/catalyst_push_up_in.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
android:duration="@android:integer/config_shortAnimTime"
1212
/>
1313
</set>
14-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/anim/catalyst_push_up_in.xml -->
14+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/anim/catalyst_push_up_in.xml -->

android/app/build/intermediates/res/merged/debug/anim/catalyst_push_up_out.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
android:duration="@android:integer/config_shortAnimTime"
1212
/>
1313
</set>
14-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/anim/catalyst_push_up_out.xml -->
14+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/anim/catalyst_push_up_out.xml -->

android/app/build/intermediates/res/merged/debug/anim/fade_in.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
android:fromAlpha="0.0"
66
android:toAlpha="1.0"
77
/>
8-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/anim/fade_in.xml -->
8+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/anim/fade_in.xml -->

android/app/build/intermediates/res/merged/debug/anim/fade_out.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
android:fromAlpha="1.0"
66
android:toAlpha="0.0"
77
/>
8-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/anim/fade_out.xml -->
8+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/anim/fade_out.xml -->

android/app/build/intermediates/res/merged/debug/anim/slide_down.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
android:fromYDelta="0%p"
55
android:toYDelta="100%p"
66
/>
7-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/anim/slide_down.xml -->
7+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/anim/slide_down.xml -->

android/app/build/intermediates/res/merged/debug/anim/slide_up.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
android:fromYDelta="100%p"
55
android:toYDelta="0%p"
66
/>
7-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/anim/slide_up.xml -->
7+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/anim/slide_up.xml -->

android/app/build/intermediates/res/merged/debug/layout/fps_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
android:textSize="11sp"
1717
/>
1818
</merge>
19-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/layout/fps_view.xml -->
19+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/layout/fps_view.xml -->

android/app/build/intermediates/res/merged/debug/layout/redbox_item_frame.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@
2424
android:fontFamily="monospace"
2525
/>
2626
</LinearLayout>
27-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/layout/redbox_item_frame.xml -->
27+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/layout/redbox_item_frame.xml -->

android/app/build/intermediates/res/merged/debug/layout/redbox_item_title.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
android:textSize="16sp"
99
android:textStyle="bold"
1010
/>
11-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/layout/redbox_item_title.xml -->
11+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/layout/redbox_item_title.xml -->

android/app/build/intermediates/res/merged/debug/layout/redbox_view.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@
107107
/>
108108
</LinearLayout>
109109
</LinearLayout>
110-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/layout/redbox_view.xml -->
110+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/layout/redbox_view.xml -->

android/app/build/intermediates/res/merged/debug/values/values.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<color name="bright_foreground_material_light">@android:color/black</color>
3232
<color name="button_material_dark">#ff5a595b</color>
3333
<color name="button_material_light">#ffd6d7d7</color>
34-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/values/values.xml -->
34+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/values/values.xml -->
3535
<eat-comment/>
3636
<color name="catalyst_redbox_background">#eecc0000</color>
3737
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values/values.xml -->
@@ -223,7 +223,7 @@
223223
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/src/main/res/values/strings.xml -->
224224
<eat-comment/>
225225
<string name="app_name">datepicker</string>
226-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/values/values.xml -->
226+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/values/values.xml -->
227227
<eat-comment/>
228228
<string name="catalyst_copy_button" project="catalyst" translatable="false">Copy</string>
229229
<string name="catalyst_debugjs" project="catalyst" translatable="false">Debug JS Remotely</string>
@@ -255,7 +255,7 @@
255255
<style name="AlertDialog.AppCompat.Light" parent="Base.AlertDialog.AppCompat.Light"/>
256256
<style name="Animation.AppCompat.Dialog" parent="Base.Animation.AppCompat.Dialog"/>
257257
<style name="Animation.AppCompat.DropDownUp" parent="Base.Animation.AppCompat.DropDownUp"/>
258-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/values/values.xml -->
258+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/values/values.xml -->
259259
<eat-comment/>
260260
<style name="Animation.Catalyst.RedBox" parent="@android:style/Animation">
261261
<item name="android:windowEnterAnimation">@anim/catalyst_push_up_in</item>
@@ -1181,7 +1181,7 @@
11811181
<item name="android:minWidth">56dp</item>
11821182
<item name="android:scaleType">center</item>
11831183
</style>
1184-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/values/values.xml -->
1184+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/values/values.xml -->
11851185
<eat-comment/>
11861186
<style name="DialogAnimationFade">
11871187
<item name="android:windowEnterAnimation">@anim/fade_in</item>
@@ -1400,7 +1400,7 @@
14001400
</style>
14011401
<style name="TextAppearance.Widget.AppCompat.Toolbar.Title" parent="Base.TextAppearance.Widget.AppCompat.Toolbar.Title">
14021402
</style>
1403-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/values/values.xml -->
1403+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/values/values.xml -->
14041404
<eat-comment/>
14051405
<style name="Theme"/>
14061406
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.1/res/values/values.xml -->
@@ -1427,7 +1427,7 @@
14271427
<item name="windowActionBar">false</item>
14281428
<item name="windowNoTitle">true</item>
14291429
</style>
1430-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/values/values.xml -->
1430+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/values/values.xml -->
14311431
<eat-comment/>
14321432
<style name="Theme.Catalyst"/>
14331433
<style name="Theme.Catalyst.RedBox" parent="@style/Theme.AppCompat.DialogWhenLarge">
@@ -1441,6 +1441,7 @@
14411441
<item name="android:windowNoTitle">true</item>
14421442
<item name="android:windowIsFloating">false</item>
14431443
<item name="android:windowBackground">@android:color/transparent</item>
1444+
<item name="android:windowTranslucentStatus">true</item>
14441445
</style>
14451446
<style name="Theme.FullScreenDialogAnimatedFade" parent="Theme.FullScreenDialog">
14461447
<item name="android:windowAnimationStyle">@style/DialogAnimationFade</item>

android/app/build/intermediates/res/merged/debug/xml/preferences.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@
5151
/>
5252
</PreferenceCategory>
5353
</PreferenceScreen>
54-
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.33.0/res/xml/preferences.xml -->
54+
<!-- From: file:/Users/yuebin/workspace/react-native/react-native-datepicker/android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.39.0/res/xml/preferences.xml -->
Binary file not shown.
Binary file not shown.
106 KB
Binary file not shown.

android/app/src/main/java/com/datepicker/MainApplication.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.facebook.react.ReactNativeHost;
99
import com.facebook.react.ReactPackage;
1010
import com.facebook.react.shell.MainReactPackage;
11+
import com.facebook.soloader.SoLoader;
1112

1213
import java.util.Arrays;
1314
import java.util.List;
@@ -30,6 +31,12 @@ protected List<ReactPackage> getPackages() {
3031

3132
@Override
3233
public ReactNativeHost getReactNativeHost() {
33-
return mReactNativeHost;
34+
return mReactNativeHost;
35+
}
36+
37+
@Override
38+
public void onCreate() {
39+
super.onCreate();
40+
SoLoader.init(this, /* native exopackage */ false);
3441
}
3542
}

0 commit comments

Comments
 (0)