Skip to content

command to get app infos #5557

Open
Open
@farfromrefug

Description

@farfromrefug

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 config but i cant find a way to read only the id key ?
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions