NativeScript / NativeScript/nativescript-cli
Automate changing app "id"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Changing the "app id" means changing in three places (Took me a while to figure out as a newbie as app was not installing/running):
- package.json -
"nativescript": { "id": "com.example.newapp" ... - app/App_Resources/Android/app.gradle -
... applicationId = "com.example.newapp" ... - app/App_Resources/Android/settings.json -
{"appId":"com.example.newapp"...
Could the change in "package.json" become part of the build ?
ie overriding/replacing the "ids" in app.gradle and settings.json ?
Which platform(s) does your issue occur on?
Android
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read package.json alongside app/App_Resources/Android/app.gradle and app/App_Resources/Android/settings.json, then trace the Android build entry point that consumes these files. Verify how the package.json app id could supply both Android values without breaking existing projects. Done means changing one id produces matching Android configuration and the app installs and runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- build-system, cli, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100