Skip to content

Propagate {N} project version into the native projects #639

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
dtopuzov opened this issue Jul 13, 2015 · 3 comments
Closed

Propagate {N} project version into the native projects #639

dtopuzov opened this issue Jul 13, 2015 · 3 comments

Comments

@dtopuzov
Copy link
Contributor

Propagate {N} project version into the AndroidManifest.xml (for Android) and .lproj file (for iOS).

Client request:

Hello,
Is there somewhere in the {N} project that I can specify a version and build number which will be propagated into the AndroidManifest.xml (for Android) and .lproj file (for iOS), so that builds will get that version and build number? And further to that, how can I retrieve the version and build number to display it in my app?
Thanks!

@dtopuzov dtopuzov added this to the 1.3.0 milestone Jul 13, 2015
@mdgiles
Copy link

mdgiles commented Jul 15, 2015

There should be a build number as well as a version number. AndroidManifest.xml and lproj file have both.

@teobugslayer teobugslayer modified the milestones: 1.4.0, 1.3.0 Aug 31, 2015
@ligaz ligaz modified the milestones: 1.4.0 (Under review), 1.5.0 Sep 17, 2015
@Mitko-Kerezov Mitko-Kerezov removed this from the 1.5.0 (under consideration) milestone Oct 5, 2015
@sitefinitysteve
Copy link

I would really like this...it's endlessly irritating to set my project.json version for no apparent reason as the apps all nativly build to v1.0

@ligaz
Copy link

ligaz commented Feb 26, 2016

Merged into: #478. Regarding retrieving the app version you can use this plugin: https://www.npmjs.com/package/nativescript-appversion

@ligaz ligaz closed this as completed Feb 26, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants