* Add support for react-native 0.52.0 * Refactore a bit 1. Rename `DevCommandsHandlerProxy` to `DevHelperProxy` so it reflects the changes in RN. See d19afc73f5 . 2. Add few comments to show which code is used on `RN >= 0.52` and which on `RN <= 0.51`. * Now allowing the custom nav bar to take up the whole space on iOS The custom nav bar on iOS was really just a custom view applied to the title of the navigation bar. There were problems with this approach, because the navigation bar messes up the frame of the title very frequently, especially when the orientation is changing. That behaviour is accepted when the title is a label, but not when we have a custom component. With this pull request the custom nav bar component can take up the full width of the navigation bar, no matter what orientation we're at. * Added mix of native btns and custom component on the Custom TopBar screen of the example project
|
|
||
18 |
|
18 |
|
19 |
|
19 |
|
20 |
|
20 |
|
21 |
|
|
|
22 |
|
|
|
|
21 |
|
|
|
22 |
|
|
23 |
|
23 |
|
24 |
|
24 |
|
25 |
|
25 |
|
|
|
||
30 |
|
30 |
|
31 |
|
31 |
|
32 |
|
32 |
|
33 |
|
|
|
|
33 |
|
|
|
34 |
|
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
37 |
|
37 |
|
|
|
|
38 |
|
|
38 |
|
39 |
|
39 |
|
40 |
|
40 |
|
41 |
|
41 |
|
|
|
|
42 |
|
|
42 |
|
43 |
|
43 |
|
44 |
|
44 |
|
45 |
|
|
|
||
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
12 |
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
13 |
|
29 |
|
14 |
|
30 |
|
15 |
|
31 |
|
16 |
|
32 |
|
17 |
|
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
18 |
|
48 |
|
19 |
|
49 |
|
20 |
|
50 |
|
|
|
||
11 |
|
11 |
|
12 |
|
12 |
|
13 |
|
13 |
|
|
14 |
|
|
14 |
|
15 |
|
15 |
|
16 |
|
|
|
||
11 |
|
11 |
|
12 |
|
12 |
|
13 |
|
13 |
|
|
14 |
|
|
14 |
|
15 |
|
15 |
|
16 |
|
16 |
|
17 |
|
17 |
|
18 |
|
18 |
|
19 |
|
19 |
|
20 |
|
|
21 |
|
|
20 |
|
22 |
|
21 |
|
23 |
|
22 |
|
24 |
|
|
|
||
52 |
|
54 |
|
53 |
|
55 |
|
54 |
|
56 |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
55 |
|
109 |
|
|
|
||
643 |
|
643 |
|
644 |
|
644 |
|
645 |
|
645 |
|
646 |
|
|
|
|
646 |
|
|
|
647 |
|
|
|
648 |
|
|
647 |
|
649 |
|
648 |
|
650 |
|
649 |
|
651 |
|
650 |
|
652 |
|
651 |
|
653 |
|
652 |
|
654 |
|
653 |
|
|
|
|
655 |
|
|
654 |
|
656 |
|
655 |
|
657 |
|
656 |
|
658 |
|
|
|
||
676 |
|
678 |
|
677 |
|
679 |
|
678 |
|
680 |
|
|
681 |
|
|
|
682 |
|
|
|
683 |
|
|
|
684 |
|
|
|
685 |
|
|
|
686 |
|
|
|
687 |
|
|
|
688 |
|
|
679 |
|
689 |
|
680 |
|
690 |
|
681 |
|
691 |
|