| Paul Wright, there seems to be a misalignment between the content in the MDC and in our live docs. The content in the MDC contains "const appConfig = require("./mobile-services.json");" and this is different to our current live docs as is contains "const aerogearConfig = { // Replace with your own configuration } ; ", as can be seen in this screenshot: I checked the original file (https://github.com/aerogear/mobile-docs/blob/master/modules/ROOT/pages/_partials/conf-dev-env-cordova.adoc [1]) to see if there was a discrepancy between what is displayed in the live docs and what is in the current file, but they are the same. Perhaps, all that is needed here is to update the content as this will address the title of this jira imo, "docs don't explain app.config properly for cordova"- wdyt? [1] . Open a terminal and navigate to your appplication project root folder. . Install the AeroGear SDK base project: + [source.bash] npm install @aerogear/app + . In your application, import and call the "init" method: + [source,javascript]
import { init } from "@aerogear/app"; const aerogearConfig = { // Replace with your own configuration } ; const app = init(aerogearConfig);
|