just added a function which acts like a ternary with fallback option. Hence, less cluttered "def" variables additionally, changed the SDK values from 23 to 26 as per new changes from react-native and Android Android Target API Level 26 will be required in August 2018. https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html And the React Native team is already working on this: facebook/react-native#18095 facebook/react-native#17741 PS: I am aware of this PR https://github.com/joltup/rn-fetch-blob/pull/128 but first its still targeting old SDK values i.e 23 as fallback and secondly I am not sure of the use of `project` to get the value instead of proper way i.e `rootProject.ext` to get the property value.
|
|
||
1 |
|
1 |
|
2 |
|
2 |
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
3 |
|
7 |
|
4 |
|
8 |
|
5 |
|
9 |
|
|
|
||
14 |
|
18 |
|
15 |
|
19 |
|
16 |
|
20 |
|
17 |
|
|
|
18 |
|
|
|
|
21 |
|
|
|
22 |
|
|
19 |
|
23 |
|
20 |
|
|
|
21 |
|
|
|
|
24 |
|
|
|
25 |
|
|
22 |
|
26 |
|
23 |
|
27 |
|
24 |
|
28 |
|
|
|
||
33 |
|
37 |
|
34 |
|
38 |
|
35 |
|
39 |
|
36 |
|
|
|
|
40 |
|
|
37 |
|
41 |
|
38 |
|
42 |
|
39 |
|
43 |
|