Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Set Cordova build number properties #4048
It allows developers to specify a build number in their Cordova properties (as explained in the cordova docs), making CI with Cordova (and automated device provisioning) a possibility.
This PR allows one to do as follows:
Does this answer your questions?
I am testing right now, this change breaks the builds:
@Slava I'm a little confused, is the modulo expression due to android not accepting build numbers over a certain size?
Just came across this issue while trying to fix apps seemingly randomly refusing to install on an Android device.
It turns out this is due to Android not allowing installs with version codes that are lower than the existing one (it fails with
The problem didn't manifest itself before because cordova-android used the
Unless someone has a better idea, I think I'll remove the default build number (while still allowing specifying a