Emme Developer Well-Known Member Licensed User Longtime User Nov 27, 2017 #1 Is possibile to check the package name using IF in conditional compilation, without using a new build configuration?
Is possibile to check the package name using IF in conditional compilation, without using a new build configuration?
DonManfred Expert Licensed User Longtime User Nov 27, 2017 #2 As far as i know; No. But you can use Custom Builds and then use the Commandline Builder to compile the project using a specific Build https://www.b4x.com/android/forum/t...ilder-command-line-compilation.50154/#content Last edited: Nov 27, 2017 Upvote 0
As far as i know; No. But you can use Custom Builds and then use the Commandline Builder to compile the project using a specific Build https://www.b4x.com/android/forum/t...ilder-command-line-compilation.50154/#content
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2017 #3 Not sure that I understand. You cannot change the package name without adding a new build configuration. Upvote 0
Not sure that I understand. You cannot change the package name without adding a new build configuration.
Emme Developer Well-Known Member Licensed User Longtime User Nov 27, 2017 #4 Erel said: Not sure that I understand. You cannot change the package name without adding a new build configuration. Click to expand... I want to do the opposite. I have different application, from 2 company. Each app of first company has package name com.companyname.appname, and each app in second company has com.secondcompany.appname. I have so 2 sign key. In order to avoid to compile with wrong key, i want to check the package name. If it is com.first then compile with first sign key, else use second sign key Upvote 0
Erel said: Not sure that I understand. You cannot change the package name without adding a new build configuration. Click to expand... I want to do the opposite. I have different application, from 2 company. Each app of first company has package name com.companyname.appname, and each app in second company has com.secondcompany.appname. I have so 2 sign key. In order to avoid to compile with wrong key, i want to check the package name. If it is com.first then compile with first sign key, else use second sign key
DonManfred Expert Licensed User Longtime User Nov 27, 2017 #5 See my answer above. Create multiple Buildconfigurations and use the commandline builder to build the Build X for customer X and to build the Build Y for Customer y. Upvote 0
See my answer above. Create multiple Buildconfigurations and use the commandline builder to build the Build X for customer X and to build the Build Y for Customer y.
Emme Developer Well-Known Member Licensed User Longtime User Nov 27, 2017 #6 DonManfred said: See my answer above. Create multiple Buildconfigurations and use the commandline builder to build the Build X for customer X and to build the Build Y for Customer y. Click to expand... Yes i think is the only way Upvote 0
DonManfred said: See my answer above. Create multiple Buildconfigurations and use the commandline builder to build the Build X for customer X and to build the Build Y for Customer y. Click to expand... Yes i think is the only way