| See https://github.com/josemigallas/mobile-docs/blob/4294df0bd0654c8a92a6be66b30ab87bbc7525c3/modules/ROOT/pages/_partials/generic-obtaining-the-mobile-sdk-config-file.adoc This is an include and it makes things confusing when it is rendered as part of metrics, configuring devl env page, {{ configuring-dev-env-metrics.adoc }} It says this:
Locate this file in your application project and import it using require.
const aerogearConfig = require("./mobile-services.json"); Alternatively you can create a JavaScript object and use directly:
const aerogearConfig = /* Paste here the contents of the clipboard */;
but for metrics we don't have to import the json file. All what's necessary is importing that file in application level and feeding it to {{ app.init }}. |