versioning-react-native-app
versioning-react-native-app copied to clipboard
fix(android): Updated version code to better reflect builds.
I ran into an issue where I had over 100 version of a patch. After bumping the minor version Google was complaining about my app code being less than the previous. I realized that this helped:
major = 10000 minor = 1000 patch = 100
where version 2.1.3
would be version code 21300
rather than 20103
The issue remains if I go over 999 patch releases however not likely to happen.
Thank you again for your Medium post. It's been working great for months until this little issue.
@timothystewart6 I'm curious, what was the number generated for you in this case that was lower then previous?