NativeScript / NativeScript/nativescript-cli
Creation of multiple App Ids for Debug and release in package.json
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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)?
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Einstellung nativescript.id in package.json und der verlinkten Dokumentation changing-appid. Verfolge anschließend, wie die CLI diesen Wert auf Android-Debug- und Release-Builds anwendet. Als abgeschlossen gilt, festzustellen, ob separate IDs für diese Build-Typen konfiguriert werden können, und die daraus resultierende Konfiguration zu dokumentieren oder zu unterstützen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, javascript
- Bereich
- cli, mobile
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100