From d7a9ca2893fb240c25d1cd1e0778f6b93b1e3ded Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Sat, 20 Jan 2018 10:21:07 -0800 Subject: [PATCH] Remove redundant config in AndroidManifest.xml Summary: * remove redundant version code, name, miniSdk, targetSdk, they now are configed in build.gradle * allowbackup = true is not a secure config Clean up redundant config and remove security risk config. test android template still works. none Closes https://github.com/facebook/react-native/pull/17596 Differential Revision: D6768292 Pulled By: hramos fbshipit-source-id: 9f32f17aebb9c1857d8b64d6687efe7c22e7bc79 --- .../android/app/src/main/AndroidManifest.xml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/local-cli/templates/HelloWorld/android/app/src/main/AndroidManifest.xml b/local-cli/templates/HelloWorld/android/app/src/main/AndroidManifest.xml index a470d3aac..25d166dcc 100644 --- a/local-cli/templates/HelloWorld/android/app/src/main/AndroidManifest.xml +++ b/local-cli/templates/HelloWorld/android/app/src/main/AndroidManifest.xml @@ -1,20 +1,14 @@ + package="com.helloworld"> - -