nativescript-cli icon indicating copy to clipboard operation
nativescript-cli copied to clipboard

Creation of multiple App Ids for Debug and release in package.json

Open rg777 opened this issue 6 years ago • 3 comments

The article below explains the need to have two seperate android apps for debug and release purposes in order to keep the analytics data clean.

https://firebase.googleblog.com/2016/08/organizing-your-firebase-enabled-android-app-builds.html?m=1

defaultConfig { applicationId "com.company.project" // etc... } buildTypes { debug { applicationIdSuffix ".debug" } release { // etc... } }

From Nativescript 5.0.0+, the app ids mention have to be done in package.json as explained in the following link: https://docs.nativescript.org/tooling/changing-appid

"nativescript": { "id": "org.nativescript.myappid" }

However the documentation only mentions regarding a single ID for the project. Is there any way to work with multiple IDs for android itself (debug and release IDs)?

rg777 avatar Feb 28 '19 09:02 rg777

@rg777 have you discovered a way around this. I need to do the same thing for IOS and Android as I need different applications for QA testing purposes.

codytooker avatar Jul 15 '19 21:07 codytooker

Not Yet. :(

rg777 avatar Jul 16 '19 08:07 rg777

@rg777 @codytooker : any update on this ? I am doing similar things but no solution found yet.

pap5508 avatar Jul 13 '21 11:07 pap5508