question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Have the CLI manage project properties

See original GitHub issue

This came up from a discussion in https://github.com/NativeScript/NativeScript/issues/145.

Basically it would be nice to be able to configure properties about your app in either your app/package.json or your .tnsproject file, and have those changes propagate to the appropriate places in the platform-specific config files. All of these are things AppBuilder does with its .abproject file, and it would be nice to have a few of those in the NativeScript CLI. At the moment the four specific things I’m looking for are:

  • Display name ("DisplayName" in .abproject).
  • Id ("AppIdentifier" in .abproject)
  • Version ("BundleVersion" in .abproject)
  • Android version ("AndroidVersionCode" in .abproject)

id is already set in .tnsproject, but to my knowledge you can’t configure the rest of these things without changing iOS/Android config files manually.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
tjvantollcommented, Jun 7, 2016

@enchev I think we’re all set here. The already implemented solution is exactly what I was looking for when I created this issue. I didn’t realize this was still open actually 😄

Unless others have more requirements worth mentioning, feel free to close this issue.

0reactions
enchevcommented, Jun 7, 2016

At the moment you can configure anything for the app using Info.plist and AndroidManifest.xml in App_Resources folder and you do not have to edit anything in the platforms folder. What’s the thinking now? Is this enough or we need something else?

Hey @tjvantoll @atanasovg @hshristov @PanayotCankov what do you think?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage project and solution properties - Visual Studio ...
You access project properties by right-clicking the project node in Solution Explorer and choosing Properties, or by typing properties into the ...
Read more >
Working with Projects Using the CLI - Oracle® ZFS Storage ...
Properties can be set using the standard CLI commands get and set. In addition, properties can be inherited from the parent project by...
Read more >
Managing gcloud CLI properties
For example, the gcloud CLI supports both the --project flag and project property. Properties allow you to maintain the same settings across command...
Read more >
Manage Project Settings — MongoDB Atlas
To view project settings, you must have Project Owner access to the project. Manage Project Settings. Project settings apply to all the users...
Read more >
project.properties - allow include/exclude options #410 - GitHub
properties is used for configuration. The ability to include/exclude files including sub-directories would provide a "make" like facility to ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found