Update README.md

This commit is contained in:
Nguyen Cao Nhat Linh 2016-06-16 16:15:05 -07:00 committed by GitHub
parent 87b5eaf034
commit 2cf4506c70
1 changed files with 12 additions and 0 deletions

View File

@ -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 `<manifest package="...">` 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"
}
```