react-native/template
Dulmandakh 724d83a966 improve Android Network Security config (#23429)
Summary:
This PR is trying to improve Android Network Security configuration introduced in 84572c4051. I found that Android merges all manifest files into a single manifest file when building an app, so this PR provides AndroidManifest.xml with network security config in debug folder, that will be used only for debug builds. Also the network security configuration will be applied to only app that target API 28. Moved security config file to xml-v28, so that it'll only visible to API 28 and above.

See https://developer.android.com/studio/build/manifest-merge

[Android] [Changed] -  Android Network Security configuration.
Pull Request resolved: https://github.com/facebook/react-native/pull/23429

Differential Revision: D14065124

Pulled By: cpojer

fbshipit-source-id: 0f5ac5addbe968ed7e5cb57f356e2572de2690a8
2019-02-13 17:12:28 +01:00
..
__tests__ Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
android improve Android Network Security config (#23429) 2019-02-13 17:12:28 +01:00
ios Revert RCTRootView's backgroundColor to white (#23358) 2019-02-11 14:31:26 -08:00
App.js Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
_buckconfig Move react-native template 2018-12-07 07:49:19 -08:00
_flowconfig Back out "[Flow] Set wait_for_recheck=true to work around crash" 2019-02-04 17:41:04 -08:00
_gitattributes Move react-native template 2018-12-07 07:49:19 -08:00
_gitignore Move react-native template 2018-12-07 07:49:19 -08:00
_watchmanconfig Move react-native template 2018-12-07 07:49:19 -08:00
app.json Move react-native template 2018-12-07 07:49:19 -08:00
babel.config.js fix: change template to work with jest (#23150) 2019-01-24 17:33:50 -08:00
index.js Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00
metro.config.js Exclude RN templates from internal linters 2019-02-11 15:42:17 -08:00