You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a solution with config.debug.json and config.release.json. Running 'tns build android --release' copies config.debug.json -> config.json. I expected it to copy config.release.json -> config.json
Which platform(s) does your issue occur on?
Only able to test on Android, but I'd imagine it occurs on both.
Please provide the following version numbers that your issue occurs with:
CLI: (run tns --version to fetch it)
3.1.1
Cross-platform modules: (check the 'version' attribute in the node_modules/tns-core-modules/package.json file in your project)
next (3.2.0-2017-06-28-7092)
Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project)
"tns-ios": {
"version": "3.0.1"
},
"tns-android": {
"version": "3.1.1"
}
Hello @rowandh, @fmsaraujo,
The fix is merged and you can use it with nativescript@next.
We implemented the processing of configuration specific files on build, run and debug commands. There was some initial logic to process debug configuration by default, but when configuration is explicitly passed we did not respect it. Now if the passed argument is valid configuration we process specific files, taking the parameter under consideration.
For example - in case you have files called main-view-model.debug.js and main-view-model.release.js , during debug builds the main-view-model.debug.js file will be used , while in release builds the other one will be included in native project.
Did you verify this is a real problem by searching Stack Overflow and the other open issues in this repo?
Yes
Tell us about the problem
I have a solution with config.debug.json and config.release.json. Running 'tns build android --release' copies config.debug.json -> config.json. I expected it to copy config.release.json -> config.json
Which platform(s) does your issue occur on?
Only able to test on Android, but I'd imagine it occurs on both.
Please provide the following version numbers that your issue occurs with:
CLI: (run
tns --version
to fetch it)3.1.1
Cross-platform modules: (check the 'version' attribute in the
node_modules/tns-core-modules/package.json
file in your project)next (3.2.0-2017-06-28-7092)
Runtime(s): (look for the
"tns-android"
and"tns-ios"
properties in thepackage.json
file of your project)"tns-ios": {
"version": "3.0.1"
},
"tns-android": {
"version": "3.1.1"
}
Plugin(s): (look for the version number in the
package.json
file of yourproject)
See https://github.com/rowandh/sample-Groceries/blob/debug-release-bug/package.json
Please tell us how to recreate the issue in as much detail as possible.
My own compiled apk is in the 'apk' folder.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
See https://github.com/rowandh/sample-Groceries/tree/debug-release-bug
The text was updated successfully, but these errors were encountered: