- The Last of Us: A Game-Changing Masterpiece in the World of Gaming
- Maximizing Engagement on Instagram Stories
- Just Play Another Game: The Harm in Casual Dismissal
- New iOS Patch Released to Fix NPC Locations and Stuck Animals
- Is the Apple Watch worth the Investment?
- Say No to Humans: The Importance of Protecting our Planet
- Exploring the Interplay of Dark and Colors in Art and Design
- Why Manchester United is More Than Just a Football Club
- Get Ready for Exciting New Games on Xbox Game Pass in January
- Discovering Low-Cost NFT Projects with Strong Teams and Solid Communities
- Why Some People Prefer Android Over Apple: The Key Differences
- Exploring the Latest dApps on Binance Smart Chain s DappBay and CryptoCitizen
- LG s Menu System and Remote: Unbeatable in the OLED TV Market
- Gate.io Hosts AMA with a $100 Rewards Pool on January 12th at 1 PM UTC
- Choosing the Best High-End Smartphone for Your Budget: A Guide for the Over-50K Price Point
- Hacking: The iPhone vs Android Debate
- The Dilemma of Choosing Between an iPhone and a Washing Machine
- The Dark Side of Mega-Dominant Software Platforms: A Look at Poor Customer Support
- The Last of Us: Part I - How Will the PS5 Affect Sales and Marketing Strategies?
- Win Money with a Quiz: The Ultimate Guide
- 10 Lucky People Wanted: Show Us Your Homescreen and Win!
- Xbox Should Release Starfield on PlayStation for Maximum Reach
- Xbox and Bethesda Developer\_Direct Show Announced for January 2023
- Is the iPhone 14 Worth the Upgrade?
- Closer than Ever Event Featuring Samurai II and Piranha X in Parking, St. Petersburg, and L.A. Block
- Max Price for a Standalone VR Game
- 5 Tips for Creating Professional and SEO-Friendly Blog Articles
- My Tech Wishlist for the Year
- The Connection Between Modern Architecture and Depression: A Critique of Wokeism
- Is switching from an iPhone to a Samsung a good decision?
For cross platform mobile dev, #ReactNative #Flutter etc, doJune 23, 2021, 9:34 am For cross platform mobile dev, ReactNative Flutter etc, do you keep both platform apps versioning in sync? eg: iOS version: string = Android version name: string iOS build number: string = Android version code: number Trying to get the pros/cons of syncing vs diverging I just started. Trying to keep same versioning name. at least the first 2 numbers. like 3.1.x where x can be different between ios and android I don`t have specific resources; it`s a mix of different things to solve the problem in a specific way. You want Sentry to know some environment properties like built type, and commit hash... @_deprogram_ After checking the CodePush docs, I see that only version is taken into account and it`s even sometimes desired to target multiple versions with semver range expression Don`t have any article backing it, but IMO keeping versions in sync is the only same solution... Nope no OTAs as of now . Ahh, we don`t do OTA updates so can`t comment there! CodePush currently in place, as per other apps, haven`t tried expos. Over the Air updates are generally patches, so good if they can be kept insync, this perhaps is easier with expos like you mention with CP being separated. Overall it looks like aligning version is the norm but not the build number/version code. Automatically setting the later based on the CI id/num of commits is super handy for sure. I`m trying to figure out if aligning everything is overkill or if there`s a real benefit to it For instance, would list both store releases and OTA releases, and it might make sense to align the build number/version code too. for CodePush, it would be one project per platform in AppCenter anyway, so syncing build number/version code doesn`t change much. For Expo Updates it`s a single Expo project for both platforms, so it makes sense to keep the version AND build number/version code in sync in order to have a consistent release channel name, eg `${version}.${buildNumber}` Follow up question: Does your app support over-the-air (OTA) updates? Eg: Updates or CodePush yes we use version name in sync ( displayed to users) for both android / ios. also the release cycles are exact same. build number handled by CD Versioning yes, it`s a snowball of chaos if your running different versions on different platforms. The build number generally no, I have no preference if this aligned across them, and likely it`s not So we use the same version number/name on both e.g. "1.6.2", then the build number/version code just corresponds to the CI build ID that created that version. Does that make sense? As we release both platforms at roughly the same time, we felt it made sense to be consistent. |
|