Cordova-plugin-app-preferences with build



I use this plugin to store and retrieve settings that I need across multiple different domains (the app is using an embedded device as server, serving the correct web app for the current backend version to work with). I chose this over localStorage due to multiple reasons, timing when opening the app, problems with localStorage on app close/reopen etc.

I noticed that the config file of said plugin in the root of the project “app-settings.json” is not taken into consideration while building. It always uses the plugin’s default “app-settings.json” which is being downloaded during the build I guess.

Does anyone know if these default settings can be stored in config.xml? How can I get build to take my settings into consideration?