Force Upgrading for Mobile Apps

Force Upgrading for Mobile Apps

Challenges Due to Stepping Up Your Game

In 2015, few apps had force upgrading mechanisms in place. Nearing 2021, most mature apps have put this approach in place, recognizing the need to force retire old versions of the app.

Old app versions might stop working when a backend API is retired, and they might be expensive to test, support and keep backwards compatible.

The catch with force upgrade is you need to build it much earlier than when you plan to use it. You can not safely retire app versions without a force update messaging mechanism in place. This diagram shows the problem that first-time app developers face:

Force upgrading mobile apps

Once a force update solution is in place, you do need to test it in production, to make sure it works. Some companies make the mistake of building forced update support, but then not using it for years. By the time it’s time for a forced update, they will have little confidence whether it will actually work.

On Android, Google offers in-app updates starting from Android 5.0 with an easy-to-use API. For older Android versions or for iOS, you’re currently left with homegrown solutions.

From Injy: at Convoy, some of the carriers have super old phones and newer versions of the app with new JS Core won’t even work on their phones! Situations like these make forced upgrades a complicated issue with business implications.

You are reading an early draft from the book Building Mobile Apps at Scale. For the final, expanded and improved content, grab the book now - it's free to download as a PDF until 31 May.

Building Mobile Apps at Scale

"An essential read for anyone working with mobile apps. Not just for mobile engineers - but also on the backend or web teams. The book is full of insights coming from someone who has done engineering at scale."
     - Ruj Sabya, formerly Sr Engineering Manager @ Flipkart

Get the book here