Skip to content

Commit 17aa35d

Browse files
committed
build(react-native): update react-native
1 parent bee4777 commit 17aa35d

35 files changed

+1687
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.facebook.react"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="16"
9+
android:targetSdkVersion="22" />
10+
11+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
12+
13+
<application />
14+
15+
</manifest>

android/app/build/intermediates/exploded-aar/com.facebook.react/react-native/0.36.0/R.txt

Lines changed: 1320 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
package="com.facebook.react"
4+
android:versionCode="1"
5+
android:versionName="1.0" >
6+
7+
<uses-sdk
8+
android:minSdkVersion="16"
9+
android:targetSdkVersion="22" />
10+
11+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
12+
13+
<application />
14+
15+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android">
3+
<translate
4+
android:fromYDelta="100%p"
5+
android:toYDelta="0"
6+
android:duration="@android:integer/config_shortAnimTime"
7+
/>
8+
<alpha
9+
android:fromAlpha="0.0"
10+
android:toAlpha="1.0"
11+
android:duration="@android:integer/config_shortAnimTime"
12+
/>
13+
</set>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<set xmlns:android="http://schemas.android.com/apk/res/android">
3+
<translate
4+
android:fromYDelta="0"
5+
android:toYDelta="-100%p"
6+
android:duration="@android:integer/config_shortAnimTime"
7+
/>
8+
<alpha
9+
android:fromAlpha="1.0"
10+
android:toAlpha="0.0"
11+
android:duration="@android:integer/config_shortAnimTime"
12+
/>
13+
</set>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:duration="@android:integer/config_shortAnimTime"
4+
android:interpolator="@android:anim/accelerate_interpolator"
5+
android:fromAlpha="0.0"
6+
android:toAlpha="1.0"
7+
/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<alpha xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:duration="@android:integer/config_shortAnimTime"
4+
android:interpolator="@android:anim/accelerate_interpolator"
5+
android:fromAlpha="1.0"
6+
android:toAlpha="0.0"
7+
/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<translate xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:duration="@android:integer/config_shortAnimTime"
4+
android:fromYDelta="0%p"
5+
android:toYDelta="100%p"
6+
/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<translate xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:duration="@android:integer/config_shortAnimTime"
4+
android:fromYDelta="100%p"
5+
android:toYDelta="0%p"
6+
/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<merge
4+
xmlns:android="http://schemas.android.com/apk/res/android"
5+
>
6+
<TextView
7+
android:id="@+id/fps_text"
8+
android:layout_width="wrap_content"
9+
android:layout_height="wrap_content"
10+
android:layout_margin="3dp"
11+
android:background="#a4141823"
12+
android:gravity="right"
13+
android:layout_gravity="top|right"
14+
android:padding="3dp"
15+
android:textColor="@android:color/white"
16+
android:textSize="11sp"
17+
/>
18+
</merge>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:layout_width="match_parent"
3+
android:layout_height="match_parent"
4+
android:orientation="vertical"
5+
android:paddingTop="8dp"
6+
android:paddingBottom="8dp"
7+
android:paddingLeft="16dp"
8+
android:paddingRight="16dp"
9+
>
10+
<TextView
11+
android:id="@+id/rn_frame_method"
12+
android:layout_width="match_parent"
13+
android:layout_height="wrap_content"
14+
android:textColor="@android:color/white"
15+
android:textSize="14sp"
16+
android:fontFamily="monospace"
17+
/>
18+
<TextView
19+
android:id="@+id/rn_frame_file"
20+
android:layout_width="match_parent"
21+
android:layout_height="wrap_content"
22+
android:textColor="#E6B8B8"
23+
android:textSize="12sp"
24+
android:fontFamily="monospace"
25+
/>
26+
</LinearLayout>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:id="@+id/catalyst_redbox_title"
3+
android:layout_width="match_parent"
4+
android:layout_height="wrap_content"
5+
android:padding="16dp"
6+
android:gravity="center_vertical"
7+
android:textColor="@android:color/white"
8+
android:textSize="16sp"
9+
android:textStyle="bold"
10+
/>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent"
5+
android:orientation="vertical"
6+
android:background="#E80000"
7+
>
8+
<ListView
9+
android:id="@+id/rn_redbox_stack"
10+
android:layout_width="match_parent"
11+
android:layout_height="0dp"
12+
android:layout_weight="1"
13+
/>
14+
<View
15+
android:id="@+id/rn_redbox_line_separator"
16+
android:layout_width="match_parent"
17+
android:layout_height="1dp"
18+
android:background="@android:color/darker_gray"
19+
android:visibility="gone"
20+
/>
21+
<LinearLayout
22+
android:layout_width="match_parent"
23+
android:layout_height="wrap_content"
24+
android:orientation="horizontal"
25+
>
26+
<ProgressBar
27+
android:id="@+id/rn_redbox_loading_indicator"
28+
android:layout_width="wrap_content"
29+
android:layout_height="match_parent"
30+
style="@android:style/Widget.ProgressBar.Small"
31+
android:indeterminateOnly="true"
32+
android:visibility="gone"
33+
android:paddingLeft="16dp"
34+
/>
35+
<TextView
36+
android:id="@+id/rn_redbox_report_label"
37+
android:layout_width="match_parent"
38+
android:layout_height="wrap_content"
39+
android:textColor="@android:color/white"
40+
android:textSize="14sp"
41+
android:fontFamily="monospace"
42+
android:visibility="gone"
43+
android:paddingTop="16dp"
44+
android:paddingBottom="16dp"
45+
android:paddingLeft="16dp"
46+
android:paddingRight="16dp"
47+
android:lineSpacingExtra="4dp"
48+
/>
49+
</LinearLayout>
50+
<LinearLayout
51+
android:layout_width="match_parent"
52+
android:layout_height="wrap_content"
53+
android:orientation="horizontal"
54+
>
55+
<Button
56+
android:id="@+id/rn_redbox_dismiss_button"
57+
android:layout_width="0dp"
58+
android:layout_height="wrap_content"
59+
android:layout_weight="1"
60+
android:layout_margin="4dp"
61+
android:text="@string/catalyst_dismiss_button"
62+
android:textColor="@android:color/white"
63+
android:textSize="14sp"
64+
android:alpha="0.5"
65+
style="?android:attr/borderlessButtonStyle"
66+
android:gravity="center_horizontal|top"
67+
/>
68+
<Button
69+
android:id="@+id/rn_redbox_reload_button"
70+
android:layout_width="0dp"
71+
android:layout_height="wrap_content"
72+
android:layout_weight="1"
73+
android:layout_margin="4dp"
74+
android:text="@string/catalyst_reload_button"
75+
android:textColor="@android:color/white"
76+
android:textSize="14sp"
77+
android:alpha="0.5"
78+
style="?android:attr/borderlessButtonStyle"
79+
android:gravity="center_horizontal|top"
80+
/>
81+
<Button
82+
android:id="@+id/rn_redbox_copy_button"
83+
android:layout_width="0dp"
84+
android:layout_height="wrap_content"
85+
android:layout_weight="1"
86+
android:layout_margin="4dp"
87+
android:text="@string/catalyst_copy_button"
88+
android:textColor="@android:color/white"
89+
android:textSize="14sp"
90+
android:alpha="0.5"
91+
style="?android:attr/borderlessButtonStyle"
92+
android:gravity="center_horizontal|top"
93+
/>
94+
<Button
95+
android:id="@+id/rn_redbox_report_button"
96+
android:layout_width="0dp"
97+
android:layout_height="wrap_content"
98+
android:layout_weight="1"
99+
android:layout_margin="4dp"
100+
android:text="@string/catalyst_report_button"
101+
android:textColor="@android:color/white"
102+
android:textSize="14sp"
103+
android:alpha="0.5"
104+
style="?android:attr/borderlessButtonStyle"
105+
android:visibility="gone"
106+
android:gravity="center_horizontal|top"
107+
/>
108+
</LinearLayout>
109+
</LinearLayout>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="catalyst_redbox_background">#eecc0000</color>
4+
<string name="catalyst_copy_button" project="catalyst" translatable="false">Copy</string>
5+
<string name="catalyst_debugjs" project="catalyst" translatable="false">Debug JS Remotely</string>
6+
<string name="catalyst_debugjs_off" project="catalyst" translatable="false">Stop Remote JS Debugging</string>
7+
<string name="catalyst_dismiss_button" project="catalyst" translatable="false">Dismiss\n(ESC)</string>
8+
<string name="catalyst_element_inspector" project="catalyst" translatable="false">Toggle Inspector</string>
9+
<string name="catalyst_heap_capture" project="catalyst" translatable="false">Capture Heap</string>
10+
<string name="catalyst_hot_module_replacement" project="catalyst" translatable="false">Enable Hot Reloading</string>
11+
<string name="catalyst_hot_module_replacement_off" project="catalyst" translatable="false">Disable Hot Reloading</string>
12+
<string name="catalyst_jsload_error" project="catalyst" translatable="false">Unable to download JS bundle. Did you forget to start the development server or connect your device?</string>
13+
<string name="catalyst_jsload_message" project="catalyst" translatable="false">Fetching JS bundle</string>
14+
<string name="catalyst_jsload_title" project="catalyst" translatable="false">Please wait…</string>
15+
<string name="catalyst_live_reload" project="catalyst" translatable="false">Enable Live Reload</string>
16+
<string name="catalyst_live_reload_off" project="catalyst" translatable="false">Disable Live Reload</string>
17+
<string name="catalyst_perf_monitor" project="catalyst" translatable="false">Show Perf Monitor</string>
18+
<string name="catalyst_perf_monitor_off" project="catalyst" translatable="false">Hide Perf Monitor</string>
19+
<string name="catalyst_poke_sampling_profiler" project="catalyst" translatable="false">Start/Stop Sampling Profiler</string>
20+
<string name="catalyst_reload_button" project="catalyst" translatable="false">Reload\n(R,\u00A0R)</string>
21+
<string name="catalyst_reloadjs" project="catalyst" translatable="false">Reload</string>
22+
<string name="catalyst_remotedbg_error" project="catalyst" translatable="false">Unable to connect with remote debugger</string>
23+
<string name="catalyst_remotedbg_message" project="catalyst" translatable="false">Connecting to remote debugger</string>
24+
<string name="catalyst_report_button" project="catalyst" translatable="false">Report</string>
25+
<string name="catalyst_settings" project="catalyst" translatable="false">Dev Settings</string>
26+
<string name="catalyst_settings_title" project="catalyst" translatable="false">Catalyst Dev Settings</string>
27+
<style name="Animation.Catalyst.RedBox" parent="@android:style/Animation">
28+
<item name="android:windowEnterAnimation">@anim/catalyst_push_up_in</item>
29+
<item name="android:windowExitAnimation">@anim/catalyst_push_up_out</item>
30+
</style>
31+
<style name="DialogAnimationFade">
32+
<item name="android:windowEnterAnimation">@anim/fade_in</item>
33+
<item name="android:windowExitAnimation">@anim/fade_out</item>
34+
</style>
35+
<style name="DialogAnimationSlide">
36+
<item name="android:windowEnterAnimation">@anim/slide_up</item>
37+
<item name="android:windowExitAnimation">@anim/slide_down</item>
38+
</style>
39+
<style name="Theme"/>
40+
<style name="Theme.Catalyst"/>
41+
<style name="Theme.Catalyst.RedBox" parent="@style/Theme.AppCompat.DialogWhenLarge">
42+
<item name="android:windowBackground">@color/catalyst_redbox_background</item>
43+
<item name="android:windowAnimationStyle">@style/Animation.Catalyst.RedBox</item>
44+
<item name="android:inAnimation">@android:anim/fade_in</item>
45+
<item name="android:outAnimation">@android:anim/fade_out</item>
46+
<item name="android:textColor">@android:color/white</item>
47+
</style>
48+
<style name="Theme.FullScreenDialog">
49+
<item name="android:windowNoTitle">true</item>
50+
<item name="android:windowIsFloating">false</item>
51+
<item name="android:windowBackground">@android:color/transparent</item>
52+
<item name="android:windowTranslucentStatus">true</item>
53+
</style>
54+
<style name="Theme.FullScreenDialogAnimatedFade" parent="Theme.FullScreenDialog">
55+
<item name="android:windowAnimationStyle">@style/DialogAnimationFade</item>
56+
</style>
57+
<style name="Theme.FullScreenDialogAnimatedSlide" parent="Theme.FullScreenDialog">
58+
<item name="android:windowAnimationStyle">@style/DialogAnimationSlide</item>
59+
</style>
60+
<style name="Theme.ReactNative.AppCompat.Light" parent="@style/Theme.AppCompat.Light.NoActionBar">
61+
<item name="android:textColor">@android:color/black</item>
62+
</style>
63+
<style name="Theme.ReactNative.AppCompat.Light.NoActionBar.FullScreen" parent="@style/Theme.ReactNative.AppCompat.Light">
64+
<item name="android:windowNoTitle">true</item>
65+
<item name="windowActionBar">false</item>
66+
<item name="android:windowFullscreen">true</item>
67+
<item name="android:windowContentOverlay">@null</item>
68+
</style>
69+
</resources>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<PreferenceScreen
4+
xmlns:android="http://schemas.android.com/apk/res/android"
5+
>
6+
<PreferenceCategory
7+
android:key="catalyst_perf"
8+
android:title="Performance"
9+
>
10+
<CheckBoxPreference
11+
android:key="js_dev_mode_debug"
12+
android:title="JS Dev Mode"
13+
android:summary="Load JavaScript bundle with __DEV__ = true for easier debugging. Disable for performance testing."
14+
android:defaultValue="true"
15+
/>
16+
<CheckBoxPreference
17+
android:key="js_minify_debug"
18+
android:title="JS Minify"
19+
android:summary="Load JavaScript bundle with minify=true for debugging minification issues."
20+
android:defaultValue="false"
21+
/>
22+
<CheckBoxPreference
23+
android:key="animations_debug"
24+
android:title="Animations FPS Summaries"
25+
android:summary="At the end of animations, Toasts and logs to logcat debug information about the FPS during that transition. Currently only supported for transitions (animated navigations)."
26+
android:defaultValue="false"
27+
/>
28+
</PreferenceCategory>
29+
<PreferenceCategory
30+
android:key="pref_key_catalyst_debug"
31+
android:title="Debugging"
32+
>
33+
<EditTextPreference
34+
android:key="debug_http_host"
35+
android:title="Debug server host &amp; port for device"
36+
android:summary="Debug server host &amp; port for downloading JS bundle or communicating with JS debugger. With this setting empty launcher should work fine when running on emulator (or genymotion) and connection to debug server running on emulator's host."
37+
android:defaultValue=""
38+
/>
39+
<CheckBoxPreference
40+
android:key="start_sampling_profiler_on_init"
41+
android:title="Start Sampling Profiler on init"
42+
android:summary="If true the Sampling Profiler will start on initialization of JS. Useful for profiling startup of the app. Reload JS after setting."
43+
android:defaultValue="false"
44+
/>
45+
<EditTextPreference
46+
android:key="sampling_profiler_sample_interval"
47+
android:title="Sample interval for Sampling Profiler"
48+
android:summary="Sample interval in microseconds for the Sampling Profiler (default: 1000). Reload JS after setting."
49+
android:defaultValue="1000"
50+
android:inputType="number"
51+
/>
52+
</PreferenceCategory>
53+
</PreferenceScreen>

0 commit comments

Comments
 (0)