Skip to content
Open
4 changes: 2 additions & 2 deletions docs/manage/enabling_surveys_using_config_files.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Create a "config login link" using this format (filling in `YOUR_STUDY_OR_PROGRA
emission://join_study?label=YOUR_STUDY_OR_PROGRAM_LABEL&source=github
```

Create this link above, and later once we have created the config file, we will copy and paste it into Safari/Google Chrome to get past the config login step of the app.
Create this link above, and later once we have created the config file, we will use this link to get past the config login step of the app.

### Docker-Compose option

Expand Down Expand Up @@ -218,7 +218,7 @@ or

2. Start the emulator and uninstall/reinstall your `em-devapp.app` so that it opens up with the config login screen and prompts you to scan into a Study/Program.

3. Open Safari in the emulator and paste in your `emission://join_study?label=YOUR_STUDY_OR_PROGRAM_LABEL&source=github`, and it should automatically open up e-mission and your config will successfully be loaded into the app with the study/program you've created.
3. Open Safari in the emulator and paste in your `emission://join_study?label=YOUR_STUDY_OR_PROGRAM_LABEL&source=github`, and it should automatically open up e-mission and your config will successfully be loaded into the app with the study/program you've created. _If you are using an emulator with Google Chrome, this will **NOT** work. You must click on the link, by starting up the docker-compose of [`nrel-openpath-deploy-configs`](https://github.com/sebastianbarry/nrel-openpath-deploy-configs/tree/surveys-info-and-surveys-data) and navigating to `http://localhost:9090/` to see a list of available links found in the `https://github.com/sebastianbarry/nrel-openpath-deploy-configs/blob/surveys-info-and-surveys-data/survey-resources/index.js`_
Copy link
Contributor

@shankari shankari Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebastianbarry Have you actually tried this? (navigating to http://localhost:9090)
I think you will find that it doesn't actually work

Copy link
Author

@sebastianbarry sebastianbarry Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Android emulator, we use 10.0.2.2 to access your local device so I fixed this in the document in ab97fa9

@shankari this appears to be the last comment in this PR so it should be good to close


_If you make changes to the config file after you have already loaded it into the app, you **MUST uninstall the app from your emulator and reinstall it to re-load the changes you made to the config.** If you only make a change to the survey file however, you do not need to uninstall/reinstall the app because the `formPath` is downloaded dynamically._

Expand Down