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
[TIMOB-26314] Android: Add versionCode to tiapp.xml #10264
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Generated by 🚫 dangerJS |
Why do we need this? We already compute this when we write the AndroidManifest.xml: https://github.com/appcelerator/titanium_mobile/blob/82748c2cedaac99f9386a551c8b59b09322eb615/android/cli/commands/_build.js#L3721 |
@cb1kenobi oh ok. Didn't see that part cause the other "variables" had placeholders. I'll remove that part but the versionCode is still nice to have in the default tiapp.xml |
Sure, but we already have support for that via a custom android manifest section in the <?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<android xmlns:android="http://schemas.android.com/apk/res/android">
<manifest android:versionCode="2"/>
</android>
</ti:app> |
yes, but it is not exposed in the default (template) tiapp.xml. You have to look up the parameter name if you don't know it. In this PR I just add it since it is a very default value you always need to change in every project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a welcome addition! Thanks for the contribution! APPROVED!!!
FR Passed.
Studio Ver: 5.1.1.201809051655 |
Humm... adding |
I don't get why the tests are failing. This PR is just adding a What's more confusing is Jenkins says that this PR's "changes" are in |
The last build failed because of the test that opens a Ti.Map in a TabGroup. That also failed on another PR. Seems to be an unrelated issue entirely, but looks to be an Android regression that has started recently. cc @garymathews |
86f5857
to
091b018
Compare
JIRA: https://jira.appcelerator.org/browse/TIMOB-26314