* pass props for topBar background component * refactored custom components * pass props for topBar background component * refactored custom components * refactored RNNOptions object * Use margin to control component position relative to TopBar RelativeLayout rules caused excessive CPU usage due to issues with RN's keyboard detection mechanism (based on global layout listener) * Skip custom transition e2e on Android * Improved the clarity of the top-level API doc (#2984) I clarified some of the language here so that it is easier for the beginner to understand. (It was a little bit awkward before) * Increase gradle daemon process memory * Disable Orientation test on Android * Fix SideMenu e2e * Fix popTo * Use margin instead of RelativeLayout rules to align component to BottomTabs Rules caused excessive CPU usage due to RN issue with global layout listener and keyboard visibility detection. * Update README.md for triggering build * Update README.md * Consolidate pop and animatePop * Update top-level-api.md ... more copyediting. (#3002) Further clarification of some of the top level API stuff. * popTo animates top screen * Refactor component options on Android * Stop processing passProps from options * removed comments
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
|
|
26 |
|
|
27 |
|
|
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
6 | 5 |
|
7 |
|
|
8 | 6 |
|
9 | 7 |
|
10 | 8 |
|
|
||
22 | 20 |
|
23 | 21 |
|
24 | 22 |
|
25 |
|
|
26 |
|
|
27 |
|
|
23 |
|
|
28 | 24 |
|
25 |
|
|
29 | 26 |
|
30 | 27 |
|
31 | 28 |
|
32 | 29 |
|
33 | 30 |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 | 31 |
|
39 | 32 |
|
40 | 33 |
|
|
||
44 | 37 |
|
45 | 38 |
|
46 | 39 |
|
47 |
|
|
48 |
|
|
40 |
|
|
49 | 41 |
|
50 | 42 |
|
51 | 43 |
|
|
||
54 | 46 |
|
55 | 47 |
|
56 | 48 |
|
57 |
|
|
58 |
|
|
59 | 49 |
|
60 | 50 |
|
61 | 51 |
|
|
||
64 | 54 |
|
65 | 55 |
|
66 | 56 |
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
76 |
|
|
57 |
|
|
77 | 58 |
|
78 | 59 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
6 |
|
|
7 | 5 |
|
8 |
|
|
9 | 6 |
|
10 | 7 |
|
11 | 8 |
|
12 | 9 |
|
13 | 10 |
|
14 | 11 |
|
15 |
|
|
16 |
|
|
17 |
|
|
12 |
|
|
18 | 13 |
|
19 | 14 |
|
20 |
|
|
15 |
|
|
21 | 16 |
|
22 | 17 |
|
23 | 18 |
|
|
||
27 | 22 |
|
28 | 23 |
|
29 | 24 |
|
30 |
|
|
25 |
|
|
31 | 26 |
|
32 | 27 |
|
33 | 28 |
|
34 |
|
|
29 |
|
|
35 | 30 |
|
36 | 31 |
|
37 | 32 |
|
38 | 33 |
|
39 |
|
|
34 |
|
|
40 | 35 |
|
41 | 36 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
5 | 6 |
|
7 |
|
|
6 | 8 |
|
7 | 9 |
|
8 | 10 |
|
|
||
33 | 35 |
|
34 | 36 |
|
35 | 37 |
|
38 |
|
|
36 | 39 |
|
37 | 40 |
|
38 | 41 |
|
|
||
58 | 61 |
|
59 | 62 |
|
60 | 63 |
|
64 |
|
|
61 | 65 |
|
62 | 66 |
|
63 | 67 |
|
|
||
71 | 75 |
|
72 | 76 |
|
73 | 77 |
|
78 |
|
|
79 |
|
|
80 |
|
|
81 |
|
|
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
|
86 |
|
|
74 | 87 |
|
75 | 88 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
5 | 6 |
|
6 | 7 |
|
7 | 8 |
|
|
||
23 | 24 |
|
24 | 25 |
|
25 | 26 |
|
26 |
|
|
27 |
|
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
|
|
||
36 | 37 |
|
37 | 38 |
|
38 | 39 |
|
39 |
|
|
40 |
|
|
40 | 41 |
|
41 | 42 |
|
42 | 43 |
|
|
||
47 | 47 |
|
48 | 48 |
|
49 | 49 |
|
50 |
|
|
50 |
|
|
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
|
||
138 | 138 |
|
139 | 139 |
|
140 | 140 |
|
141 |
|
|
141 |
|
|
142 | 142 |
|
143 | 143 |
|
144 | 144 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
5 | 6 |
|
6 | 7 |
|
7 | 8 |
|
|
||
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
13 |
|
|
14 |
|
|
14 | 15 |
|
15 | 16 |
|
16 | 17 |
|
|
||
32 | 33 |
|
33 | 34 |
|
34 | 35 |
|
35 |
|
|
36 |
|
|
36 | 37 |
|
37 | 38 |
|
38 | 39 |
|
|
||
40 | 41 |
|
41 | 42 |
|
42 | 43 |
|
43 |
|
|
44 |
|
|
44 |
|
|
45 |
|
|
45 | 46 |
|
46 | 47 |
|
|
||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
66 |
|
|
67 | 67 |
|
68 | 68 |
|
69 | 69 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
5 | 6 |
|
6 | 7 |
|
7 | 8 |
|
|
||
11 | 12 |
|
12 | 13 |
|
13 | 14 |
|
14 |
|
|
15 |
|
|
15 | 16 |
|
16 | 17 |
|
17 | 18 |
|
18 | 19 |
|
19 | 20 |
|
20 | 21 |
|
21 |
|
|
22 |
|
|
23 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
24 | 25 |
|
25 | 26 |
|
26 | 27 |
|
27 | 28 |
|
28 |
|
|
29 |
|
|
29 | 30 |
|
30 | 31 |
|
31 | 32 |
|
|
||
45 | 46 |
|
46 | 47 |
|
47 | 48 |
|
48 |
|
|
49 |
|
|
49 | 50 |
|
50 | 51 |
|
51 | 52 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
13 | 14 |
|
14 | 15 |
|
15 | 16 |
|
|
||
58 | 59 |
|
59 | 60 |
|
60 | 61 |
|
61 |
|
|
62 |
|
|
62 | 63 |
|
63 |
|
|
64 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
65 | 67 |
|
66 | 68 |
|
67 | 69 |
|
|
||
191 | 193 |
|
192 | 194 |
|
193 | 195 |
|
194 |
|
|
196 |
|
|
195 | 197 |
|
196 |
|
|
198 |
|
|
197 | 199 |
|
198 | 200 |
|
199 | 201 |
|
|
||
19 | 19 |
|
20 | 20 |
|
21 | 21 |
|
22 |
|
|
22 | 23 |
|
23 | 24 |
|
24 | 25 |
|
25 |
|
|
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
|
||
119 | 119 |
|
120 | 120 |
|
121 | 121 |
|
122 |
|
|
123 |
|
|
122 |
|
|
123 |
|
|
124 | 124 |
|
125 | 125 |
|
126 |
|
|
126 |
|
|
127 | 127 |
|
128 |
|
|
128 |
|
|
129 | 129 |
|
130 | 130 |
|
131 | 131 |
|
|
||
41 | 41 |
|
42 | 42 |
|
43 | 43 |
|
44 |
|
|
45 | 44 |
|
46 | 45 |
|
47 | 46 |
|
|
||
100 | 99 |
|
101 | 100 |
|
102 | 101 |
|
103 |
|
|
104 | 102 |
|
105 | 103 |
|
106 | 104 |
|
|
||
133 | 131 |
|
134 | 132 |
|
135 | 133 |
|
136 |
|
|
137 |
|
|
134 |
|
|
138 | 135 |
|
139 | 136 |
|
140 | 137 |
|
|
||
190 | 190 |
|
191 | 191 |
|
192 | 192 |
|
193 |
|
|
193 |
|
|
194 | 194 |
|
195 | 195 |
|
196 | 196 |
|
|
||
84 | 84 |
|
85 | 85 |
|
86 | 86 |
|
87 |
|
|
87 |
|
|
88 |
|
|
88 | 89 |
|
89 | 90 |
|
90 | 91 |
|
|
||
140 | 141 |
|
141 | 142 |
|
142 | 143 |
|
143 |
|
|
144 | 144 |
|
145 | 145 |
|
146 | 146 |
|
147 |
|
|
147 |
|
|
148 | 148 |
|
149 | 149 |
|
150 | 150 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
|
||
60 | 61 |
|
61 | 62 |
|
62 | 63 |
|
63 |
|
|
64 |
|
|
64 | 65 |
|
65 | 66 |
|
66 | 67 |
|
|
||
68 | 69 |
|
69 | 70 |
|
70 | 71 |
|
71 |
|
|
72 |
|
|
73 |
|
|
72 | 74 |
|
73 | 75 |
|
74 | 76 |
|
|
||
83 | 85 |
|
84 | 86 |
|
85 | 87 |
|
86 |
|
|
88 |
|
|
87 | 89 |
|
88 | 90 |
|
89 | 91 |
|
|
||
144 | 146 |
|
145 | 147 |
|
146 | 148 |
|
147 |
|
|
149 |
|
|
148 | 150 |
|
149 | 151 |
|
150 | 152 |
|
153 |
|
|
154 |
|
|
155 |
|
|
156 |
|
|
157 |
|
|
158 |
|
|
159 |
|
|
151 | 160 |
|
152 | 161 |
|
153 |
|
|
154 |
|
|
162 |
|
|
163 |
|
|
164 |
|
|
155 | 165 |
|
156 | 166 |
|
157 | 167 |
|
|
||
159 | 169 |
|
160 | 170 |
|
161 | 171 |
|
162 |
|
|
163 |
|
|
172 |
|
|
173 |
|
|
174 |
|
|
164 | 175 |
|
165 | 176 |
|
166 | 177 |
|
|
||
169 | 180 |
|
170 | 181 |
|
171 | 182 |
|
172 |
|
|
183 |
|
|
173 | 184 |
|
174 | 185 |
|
175 | 186 |
|
|
||
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
58 |
|
|
58 |
|
|
59 |
|
|
59 | 60 |
|
60 | 61 |
|
61 | 62 |
|
|
||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
|
||
47 | 48 |
|
48 | 49 |
|
49 | 50 |
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
51 | 55 |
|
52 | 56 |
|
53 | 57 |
|
|
||
56 | 60 |
|
57 | 61 |
|
58 | 62 |
|
59 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
60 | 67 |
|
61 | 68 |
|
62 | 69 |
|
63 | 70 |
|
64 | 71 |
|
65 |
|
|
72 |
|
|
73 |
|
|
74 |
|
|
75 |
|
|
66 | 76 |
|
67 | 77 |
|
68 | 78 |
|
|
||
1 | 1 |
|
2 |
|
|
2 | 3 |
|
3 | 4 |
|
4 | 5 |
|
5 | 6 |
|
6 |
|
|
7 |
|
|
7 | 8 |
|
8 | 9 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
||
1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
||
54 | 54 |
|
55 | 55 |
|
56 | 56 |
|
57 |
|
|
57 |
|
|
58 | 58 |
|
59 | 59 |
|
60 | 60 |
|
|
||
36 | 36 |
|
37 | 37 |
|
38 | 38 |
|
39 |
|
|
39 |
|
|
40 | 40 |
|
41 | 41 |
|
42 | 42 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 | 4 |
|
4 | 5 |
|
5 | 6 |
|
6 |
|
|
7 |
|
|
7 | 8 |
|
9 |
|
|
10 |
|
|
8 | 11 |
|
9 | 12 |
|
10 | 13 |
|
|
||
44 | 47 |
|
45 | 48 |
|
46 | 49 |
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
|
|
66 |
|
|
67 |
|
|
68 |
|
|
69 |
|
|
70 |
|
|
71 |
|
|
72 |
|
|
73 |
|
|
47 | 74 |
|
|
||
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
37 | 41 |
|
|
||
44 | 44 |
|
45 | 45 |
|
46 | 46 |
|
47 |
|
|
48 | 47 |
|
49 | 48 |
|
50 | 49 |
|
|
||
76 | 75 |
|
77 | 76 |
|
78 | 77 |
|
79 |
|
|
80 |
|
|
78 |
|
|
79 |
|
|
81 | 80 |
|
82 |
|
|
81 |
|
|
83 | 82 |
|
84 | 83 |
|
85 | 84 |
|
|
||
89 | 88 |
|
90 | 89 |
|
91 | 90 |
|
92 |
|
|
93 |
|
|
91 |
|
|
92 |
|
|
94 | 93 |
|
95 | 94 |
|
96 | 95 |
|
|
||
102 | 101 |
|
103 | 102 |
|
104 | 103 |
|
105 |
|
|
106 |
|
|
104 |
|
|
105 |
|
|
107 | 106 |
|
108 | 107 |
|
109 | 108 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 |
|
|
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
10 |
|
|
9 | 11 |
|
10 | 12 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 | 4 |
|
4 | 5 |
|
5 | 6 |
|
|
||
8 | 9 |
|
9 | 10 |
|
10 | 11 |
|
11 |
|
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
|
||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
|
|
5 | 6 |
|
6 | 7 |
|
7 | 8 |
|
|
||
26 | 27 |
|
27 | 28 |
|
28 | 29 |
|
29 |
|
|
30 |
|
|
30 | 31 |
|
31 | 32 |
|
|
||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
|
|
19 |
|
|
20 |
|
|
18 |
|
|
21 | 19 |
|
22 | 20 |
|
23 | 21 |
|
|
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
7 |
|
|
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
|
||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
66 |
|
|
67 |
|
|
66 | 68 |
|
67 | 69 |
|
68 | 70 |
|
|
||
256 | 258 |
|
257 | 259 |
|
258 | 260 |
|
261 |
|
|
262 |
|
|
259 | 263 |
|
260 | 264 |
|
261 | 265 |
|
|
||
491 | 495 |
|
492 | 496 |
|
493 | 497 |
|
498 |
|
|
499 |
|
|
494 | 500 |
|
495 | 501 |
|
496 | 502 |
|
|
||
794 | 800 |
|
795 | 801 |
|
796 | 802 |
|
803 |
|
|
797 | 804 |
|
798 | 805 |
|
799 | 806 |
|
|
||
933 | 940 |
|
934 | 941 |
|
935 | 942 |
|
943 |
|
|
936 | 944 |
|
937 | 945 |
|
938 | 946 |
|
|
||
314 | 314 |
|
315 | 315 |
|
316 | 316 |
|
317 |
|
|
317 |
|
|
318 | 318 |
|
319 | 319 |
|
320 | 320 |
|
|
||
1 | 1 |
|
2 |
|
|
3 | 2 |
|
4 | 3 |
|
5 | 4 |
|
6 |
|
|
7 |
|
|
8 | 5 |
|
9 | 6 |
|
10 | 7 |
|
11 | 8 |
|
12 | 9 |
|
13 |
|
|
14 | 10 |
|
15 | 11 |
|
16 | 12 |
|
|
||
25 | 21 |
|
26 | 22 |
|
27 | 23 |
|
28 |
|
|
24 |
|
|
29 | 25 |
|
30 | 26 |
|
31 | 27 |
|
|
||
33 | 29 |
|
34 | 30 |
|
35 | 31 |
|
36 |
|
|
32 |
|
|
37 | 33 |
|
38 | 34 |
|
39 | 35 |
|
|
||
20 | 20 |
|
21 | 21 |
|
22 | 22 |
|
23 |
|
|
23 |
|
|
24 |
|
|
24 | 25 |
|
25 | 26 |
|
26 | 27 |
|
|
||
31 | 32 |
|
32 | 33 |
|
33 | 34 |
|
34 |
|
|
35 |
|
|
35 | 36 |
|
36 | 37 |
|
37 | 38 |
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
38 | 43 |
|
39 | 44 |
|
40 | 45 |
|
|
||
1 | 1 |
|
2 | 2 |
|
3 |
|
|
3 |
|
|
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
|
||
1 | 1 |
|
2 |
|
|
2 | 3 |
|
4 |
|
|
3 | 5 |
|
4 | 6 |
|
5 | 7 |
|
|
||
8 | 10 |
|
9 | 11 |
|
10 | 12 |
|
11 |
|
|
13 |
|
|
12 | 14 |
|
13 | 15 |
|
14 | 16 |
|
|
||
111 | 113 |
|
112 | 114 |
|
113 | 115 |
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
121 |
|
|
122 |
|
|
123 |
|
|
124 |
|
|
125 |
|
|
126 |
|
|
127 |
|
|
128 |
|
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
|
145 |
|
|
146 |
|
|
147 |
|
|
148 |
|
|
149 |
|
|
150 |
|
|
114 | 151 |
|
115 | 152 |
|
116 | 153 |
|
|
||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
|
|
6 |
|
|
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
|
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
15 | 16 |
|
16 |
|
|
17 |
|
|
17 | 18 |
|
18 | 19 |
|
19 | 20 |
|
|
||
40 | 41 |
|
41 | 42 |
|
42 | 43 |
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
43 | 54 |
|
|
||
32 | 32 |
|
33 | 33 |
|
34 | 34 |
|
35 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
36 | 41 |
|
37 | 42 |
|
38 | 43 |
|
|
||
49 | 54 |
|
50 | 55 |
|
51 | 56 |
|
52 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
53 | 60 |
|
54 | 61 |
|
55 | 62 |
|
|
||
263 | 270 |
|
264 | 271 |
|
265 | 272 |
|
266 |
|
|
267 |
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
268 | 277 |
|
269 | 278 |
|
270 | 279 |
|
|
||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
|
|
13 |
|
|
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
|
||
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
54 |
|
|
55 |
|
|
54 |
|
|
56 | 55 |
|
57 | 56 |
|