From f538ca2a1e69131718101c991adcea33e55f618e Mon Sep 17 00:00:00 2001 From: Brendon Duncan Date: Fri, 14 Sep 2018 19:12:14 +1200 Subject: [PATCH] Instructions for building. --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 75ced5808..8bfcd8c65 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,22 @@ A watch task is also available to rebuild components of the app as changes are m npm run watch ``` +### External Config +When creating the production version, the build scripts expect a configuration file called `leanplum-config.json` to be in the directory that contains the project folder, with contents in the following format: + +```json +{ + "dev": { + "appId": "", + "key": "" + }, + "prod": { + "appId": "", + "key": "" + } +} +``` + ## Testing on Real Devices It's recommended that all final testing be done on a real device – both to assess performance and to enable features that are unavailable to the emulator (e.g. a device camera).