From 2cf4506c70742a08c588683aca74411c0f9773f0 Mon Sep 17 00:00:00 2001 From: Nguyen Cao Nhat Linh Date: Thu, 16 Jun 2016 16:15:05 -0700 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index ec594ec..5bbbc20 100644 --- a/README.md +++ b/README.md @@ -161,3 +161,15 @@ public class MainActivity extends ReactActivity { ); } ``` + +##### Advanced Setup + +In `android/app/build.gradle`, if you use `applicationIdSuffix` or `applicationId` that is different from the package name indicated in `AndroidManifest.xml` in `` tag, for example, to support different build variants: +Add this in `android/app/build.gradle` + +``` +defaultConfig { + ... + resValue "string", "build_config_package", "YOUR_PACKAGE_NAME_IN_ANDROIDMANIFEST.XML" +} +```