When I run a build with tns build android --env.prod or --env.dev the corresponding google-services.json gets correctly copied into the build folder. The correct values are in build/generated/res/google-services/debug/values/values.xml. So far, so good.
However, the values.xml does not seem to be overwritten when running the build command again with a different environment parameter, leaving me with the wrong firebase environment when running the app.
When I run a build with tns build android --env.prod or --env.dev the corresponding google-services.json gets correctly copied into the build folder. The correct values are in build/generated/res/google-services/debug/values/values.xml. So far, so good.
However, the values.xml does not seem to be overwritten when running the build command again with a different environment parameter, leaving me with the wrong firebase environment when running the app.