NativeScript / NativeScript/nativescript-cli
command to get app infos
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
I know there is a ns config command to read project config. However it is not enough .
what s needed:
- command to get app id. This could be done with
ns configbut i cant find a way to read only theidkey ? - command to read build version and build number for iOS/Android. This is very important for plugins like sentry.
Right now i have some kind of a working implementation here https://github.com/farfromrefug/nativescript-set-version/blob/master/lib/get_version.js#L11.
However it would be much more suited inside the cli. For instance getting the location of info.plist and app.gradle is very ugly in my plugin while it is already implemented and elegant in the cli.
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
Start with the existing ns config command and compare its behavior with the plugin implementation in lib/get_version.js. Review how the CLI locates info.plist and app.gradle, then define commands or options for reading the app id, iOS/Android build version, and build number. Done means the CLI exposes these values reliably for both platforms.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, ios, javascript
- Domain
- cli, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100