Mosmoxmosmox

Mosmox journal

Signals from the mobile world.

Short reads about mobile products, concepts, new solutions, and figures that help us better see the future of apps.

Offline Mode: How to Build a Useful App Without Constant Internet
Top story mobile internet

Offline Mode: How to Build a Useful App Without Constant Internet

Lack of connectivity is not an exceptional scenario. People ride the metro, switch carriers, work in warehouses with concrete walls, live in villages with weak signal or simply have a limited data plan. For Ukrainian users, power outages add to this, when cell towers work intermi...

26.11.2026 · 5 min read

Development

All articles

UX and design

All articles

App Store and Google Play

All articles
  1. 01 New App Store Age Rating Questions: What to Answer by 12 January Without Losing Your Audience
  2. 02 How to Tell If Your Mobile App Pays Off
  3. 03 Mobile Traffic in 2025: 146 Exabytes a Month and a New Product Baseline
  4. 04 AI in Mobile Apps: From Download Growth to Real User Value
  5. 05 A Mobile Coffee Bean Shop: Turning Roast Selection into a Simple Buying Experience

Numbers of the week

All statistics

5,3T

Hours spent in mobile apps

In 2025, users worldwide spent 5.3 trillion hours in mobile apps.

Sensor Tower · State of Mobile 2026

21 GB

Data per smartphone per month

Average global mobile traffic per active smartphone reached 21 GB per month in 2025.

Ericsson Mobility Report · November 2025

FROM IDEA TO PRODUCT

Have a challenge worth turning into a digital product?

Start a conversation

More articles

Expo Services: Mobile CI/CD from Your Phone for a Small Team

Expo Services: Mobile CI/CD from Your Phone for a Small Team

On November 18, 2026 Expo released the Expo Services app: Expo Workflows, Observe data and cloud simulators on your phone. For a small team it is a way to keep builds and releases under control without a laptop. Here is what it does and who it helps.

All facts come from the Expo changelog.

What the app is

A mobile client for Expo services so you can monitor and act on changes without opening expo.dev. It is available for iOS (iPhone and iPad) and for Android on Google Play. According to Expo, the iOS version is written entirely in Expo Exact.

What you can do

  • Observe: an overview screen with a TTI (time to interactive) chart, active users and recent activity. Chart points can be scrubbed. Projects without Observe are shown how to add it.
  • Workflows, Builds, Updates, Submissions: each has a list and a detail page. You can filter runs, start a workflow on a chosen branch with inputs, open jobs, logs and artifacts, install a build on your phone, cancel a build or re-run a workflow.
  • Notifications: in Settings you can turn on a push when a workflow run finishes; tapping it opens that run.
  • Expo Simulators: a cloud iOS or Android simulator started from a build that you can use live. You can set location and orientation and watch CPU, memory and network. After the session you keep screenshots, recordings, logs and a performance summary.
  • iPad and iPhone Duo: the app runs natively on iPad with a sidebar, and on iPhone Duo the sidebar follows the hinge.

Limitations

Simulators in the app are iOS-only for now: Android simulator support is "coming very soon," according to Expo. Native widgets, Live Activities and more Observe data are planned. The page does not state pricing, regions or whether the release is beta. Sign-in works with email and password, Google, GitHub, Apple, SSO or passkey.

Why it helps a small team

  • Fast reaction to failures. A push when a workflow finishes tells you about a broken build while you are away from your computer.
  • Releases without a laptop. Re-running a workflow or canceling a build takes a few taps.
  • Checking on a real device. Install a build from your phone and test it right away.
  • Metrics in your pocket. TTI and active users are visible without a separate dashboard.

What to consider

  • The app pays off if you already use Expo Workflows and Observe. Without them most features will not matter.
  • Managing releases from a phone needs access discipline: protect the account, for example with a passkey or SSO, and be clear about who may start workflows and submissions.
  • Do not rely on push alone: add a team chat channel too.

Conclusion

Expo Services does not replace a full CI dashboard, but it covers the common small-team situations: learning about a failure, re-running a build and checking the result on a phone or in a cloud simulator. Try it on one project before moving your release process to it.

How to Reduce Mobile App Size Without Losing Functionality

How to Reduce Mobile App Size Without Losing Functionality

App size affects the decision to install, download time and how much storage a product takes on the device. It matters especially in markets with expensive mobile data and on phones with 32–64 GB of storage, where people regularly delete apps to make room for photos and system updates.

The good news is that most "extra" megabytes have nothing to do with functionality. They are forgotten resources, unoptimised images, duplicate libraries and code nobody calls. Below is how we at the studio approach size reduction: what to measure, where to look for weight, which tools give the biggest effect, and what you should not cut even for a nicer number.

Why size matters for the business

In 2017 the Google Play team published an analysis of its own data: for apps under 100 MB, every additional 6 MB of APK size correlated with roughly a 1% drop in install conversion. In emerging markets, removing 10 MB correlated with about a 2.5% increase in conversion. This is a correlation, not a controlled experiment, and some teams report a much smaller effect, but the direction is clear: a large package is friction at the door.

Size does not only affect the first install. Large updates are more often postponed when the phone is not on Wi-Fi, and a heavy app is the first candidate for deletion when the system warns about low storage. In our projects we treat size as part of the experience, alongside startup speed.

Where the extra weight comes from

  • unused resources and duplicate icons and illustrations in several densities;
  • large images and video without adaptive variants or modern formats;
  • third-party SDKs that add unused features;
  • debug code, logging and symbols in production builds;
  • dependencies that transitively pull in unnecessary modules;
  • bundled fonts with full glyph sets for languages the product does not support;
  • native libraries for every architecture in a single package.

Analyse first, optimise second

Start with a build analysis rather than assumptions. On Android that means APK Analyzer in Android Studio, the size report in Play Console and comparing two builds side by side. On iOS, use the App Thinning Size Report in Xcode and the per-device file size report in App Store Connect. Look at download size and install size separately: the compressed package and what occupies disk space can differ several times over.

Source of weightHow to find itWhat usually helps
Code (DEX, binary)APK Analyzer, Link Map in XcodeR8 with shrinking and optimisation, dead code removal, SDK audit
Raster imagesSort resources by sizeWebP or AVIF, vector graphics for icons, Asset Catalog
Unused resourcesLint, shrinkResourcesAutomatic removal at build time, cleaning up obsolete screens
Native librariesContents of the lib folderAndroid App Bundle, which delivers only the required architecture
Large contentVideo, models, dictionaries in the packagePlay Asset Delivery, On-Demand Resources or Background Assets on iOS

According to the WebP documentation, lossy compression produces files 25–34% smaller than comparable JPEGs, and lossless compression about 26% smaller than PNG. In illustration-heavy projects, images are often the fastest win.

A step-by-step size reduction plan

  1. Capture a baseline. Record download and install size for a typical device on each platform and keep the report in the repository.
  2. Find the ten largest components. A handful of items usually account for most of the weight, so start there.
  3. Turn on platform tooling. On Android, R8 with minifyEnabled and shrinkResources, and publishing as an App Bundle. On iOS, Asset Catalogs and no unnecessary architectures or symbols in the final binary.
  4. Review media. Convert raster assets to modern formats, replace simple icons with vectors and remove duplicates.
  5. Audit dependencies. For every SDK, check whether the whole module is used and whether a lighter alternative exists.
  6. Move rare scenarios out. Features used by a small share of the audience can be delivered as a separate module via Play Feature Delivery, or their content can be downloaded after installation.
  7. Add a budget to CI. A build that grows beyond an agreed threshold, for example 500 KB in a single pull request, should require explicit approval.

What not to cut

Do not remove analytics, security or error handling just to improve a number. Decide what must be available immediately and what can load later. Users care about a fast, useful start, not the smallest possible first package.

Be equally careful with aggressive obfuscation and removing code that is called via reflection: incorrect R8 rules produce crashes that only appear in release builds. That is why we verify every optimisation with tests and on real devices.

Note a newer Google requirement as well: Android vitals now tracks DEX code optimisation. Apps with more than 10 MB of DEX code are expected to apply optimisation, obfuscation and shrinking, and failing the thresholds may affect visibility on Google Play starting in February 2027.

Common mistakes

  • Optimising without measuring. The team spends a week rewriting a module and saves a few hundred kilobytes.
  • Comparing different metrics. APK size on a developer's disk is not what the user downloads through an App Bundle.
  • Moving everything to "download later". If a core feature needs an extra download after first launch, the user sees a spinner instead of value.
  • A smaller file but a slower start. If unpacking or initialisation became heavier, the overall experience got worse.
  • A one-off clean-up. Without a budget, size creeps back within a few releases.

Check results on real devices, especially budget ones; we wrote about this in detail in our article on testing on inexpensive phones. Our breakdown of Baseline Profiles in Android Calendar shows how code optimisation and startup are connected.

A one-sprint action plan

  • Produce download and install size reports for iOS and Android.
  • List the ten largest components and an owner for each.
  • Enable R8, shrinkResources and App Bundle publishing if they are not already on.
  • Convert the largest raster assets and remove duplicates.
  • Remove or replace SDKs that deliver no measurable value.
  • Add a size check to CI with a per-pull-request threshold.
  • After release, compare install conversion, first-launch time, crash rate and uninstalls.

Sources: Google Play: Shrinking APKs, growing installs; Android Developers: Reduce your app size; Android Developers: Android vitals; Google: WebP; Apple: Reducing your app’s size.

Josh: How Faster Startup Helped Retain Users on Older Devices

Josh: How Faster Startup Helped Retain Users on Older Devices

A video app can lose attention in seconds. If the feed takes too long to open or scrolling stutters, it is easier for users to close the app and move to another service. The problem is even sharper for audiences on older and low-end phones: every extra hundred milliseconds at startup is multiplied by a slow CPU, limited RAM and crowded storage.

The case study of Josh, an Indian short-video platform, published on Android Developers, shows how systematic startup work turns into a product result. Below we break down what the team actually did, which lessons are worth carrying into your own project, and how we at the studio organise this kind of optimisation, from the first trace to post-release monitoring.

What we know about the Josh case

Josh is a short-video app launched in August 2020. When the case study was published, it had more than 124 million monthly active users and around 60 million daily users. Its audience used a very wide range of devices, from flagships to inexpensive models, and video was the main format. Any stutter in the feed or pause in an interaction quickly made people lose interest.

The team monitored Android vitals and identified an opportunity to improve startup. They prioritised cold start, the heaviest scenario, when the app process does not exist yet. The reasoning is simple: speed up cold start and warm and hot starts usually improve as well.

According to the case study, average startup time improved by 30%, and the app became three times faster for roughly 10% of users on older and low-end phones. Better bounce rates and retention helped Josh retain more than 1 million users compared with the baseline, and Play Store ratings trended upward after the release.

What exactly changed in startup

The most valuable part of the case is not the percentages but the list of actions. The team used custom traces, Systrace, Perfetto, dumpsys and Android Studio Profiler, and found that most of the time was spent in Application.onCreate and other synchronous methods at startup.

  • They profiled every block of code executed during startup.
  • They investigated the impact of third-party SDKs and disabled auto-initialisation for some of them.
  • They removed legacy libraries.
  • They deferred some modules and moved them to background execution.
  • They reduced the size of splash screen drawables and optimised them for different screen sizes.

Each change was validated in isolation by emulating cold starts and using the Jetpack Macrobenchmark library. That detail matters: without isolated measurement you cannot tell which change produced the effect and which only added complexity.

Why the average hides the problem

Average startup time is a convenient number for a report, but it masks the worst experience. If 90% of the audience opens the app in one second and 10% in five, the average looks acceptable even though the product is effectively broken for one user in ten. That is why the Josh result of "three times faster for 10% of users" matters more than "30% on average": it shows the team worked on the tail of the distribution.

In our projects we see the same pattern: p90 and p95 percentiles split by device class almost always reveal problems that are invisible in the average. Android vitals defines the reference points directly.

Startup typeWhat happens"Slow" threshold in Android vitals
ColdThe process is created from scratch; Application and the first Activity are initialised5 s or more
WarmThe process exists, but the Activity is recreated2 s or more
HotThe Activity returns from the background1.5 s or more

These thresholds mark where the experience is considered bad; they are not a goal. For our own budgets we usually set much stricter p90 values on low-end devices and track time to the first rendered frame of the feed separately.

How to repeat the approach in your app

  1. Capture a baseline. Record cold, warm and hot start on three device classes: a flagship, a mid-range phone and a three- to four-year-old budget phone. Use Macrobenchmark with several iterations rather than a single manual launch.
  2. Take a system trace. In Perfetto, look at what happens between process creation and the first frame: SDK initialisation, dependency injection, disk reads, network calls on the main thread.
  3. Build an initialisation register. For every SDK and module, record whether it is needed before the first screen, who owns it and how many milliseconds it takes.
  4. Defer everything non-critical. Initialise analytics, ads and features that appear later lazily or on a background thread after the first frame.
  5. Lighten the first screen. Shrink splash graphics, simplify the layout and load only the first feed items rather than the whole feed.
  6. Measure every change separately. One pull request, one optimisation, one measurement. That way you know the real contribution of each step.
  7. Lock in the result. Add Macrobenchmark to CI with a startup budget that blocks a release when exceeded. Also consider Baseline Profiles, a tool that helps critical code run faster from the very first launch.

Typical mistakes that eat the gains

  • Testing only on the team's phones. Developers usually have new devices and simply do not see problems in the budget segment.
  • Measuring debug builds. A debug build behaves differently from a release build with R8 and optimisations; its numbers are misleading.
  • Moving work "to the background" without control. If deferred initialisation competes with the first frame for CPU, users still feel the slowdown.
  • Trading stability for decorative smoothness. Aggressive optimisations that raise crash or ANR rates cancel out the speed gain.
  • One-off optimisation. Without a budget in CI, new features push startup back to where it was within a few releases.

We covered how to choose a test device fleet in our article on testing on inexpensive devices, and startup metrics in the piece on app startup speed.

What performance work gives the product

The Josh case shows that startup optimisation is audience work, not only technical-debt work. When an app becomes usable on modest devices, the team returns access to people who would otherwise have left. For Josh this showed up in bounce rate, retention and ratings; a similar link between speed and business metrics is described in the Zomato case.

Another effect highlighted in the case is organisational. Working on vitals brought the team together, and the learnings were later applied to other apps in the company. When performance becomes a shared metric rather than the job of a single "performance engineer", it is much easier to sustain.

Checklist before your next release

  • There is a baseline for cold, warm and hot start on three device classes.
  • Startup metrics are reviewed at p50, p90 and p95, not only as an average.
  • Every SDK in the startup path has an owner and a reason it is needed before the first frame.
  • Non-critical initialisation is deferred and does not compete with rendering the first screen.
  • Splash and first-screen graphics are optimised for display size.
  • Macrobenchmark runs in CI, and exceeding the startup budget stops the release.
  • After release, the team watches Android vitals, crash rate, ANR and retention in the low-end device segment.

Sources: Android Developers: Josh startup performance case study; Android Developers: App startup time; Android Developers: Macrobenchmark; Android Developers: Baseline Profiles.

Lyft: Why Fast Android Startup Matters for Drivers

Lyft: Why Fast Android Startup Matters for Drivers

In a service app, a delay is more than an inconvenience. For a driver waiting for a request or plotting a route, slow startup can mean a missed opportunity, a late arrival or lost income. Here, speed is part of the work tool, not a "nice bonus".

The Lyft case described on Android Developers is interesting not only for its result but also for how the team convinced leadership to invest in performance at a company where every project competes for resources. We break down what exactly they did, what numbers they got, and how we apply this approach when justifying performance work for our own products.

The Lyft case: how the task came about

Lyft is a ridesharing service used every day by millions of drivers and riders. The team kept an eye on performance and noticed that the Lyft Driver app on Android started slowly. But developers' impressions aren't an argument for leadership, so the first step was to show the scale of the problem.

Android vitals in Google Play Console helped here. A comparison with ten other apps in the category showed that Lyft Driver's startup time was 15–20% worse. The team then estimated the cost: one developer working for one month could make a significant improvement. The combination of "a clearly measured problem and a bounded investment" made the decision obvious for leadership.

Four startup phases and where the bottleneck was

The team chose time to interact as its main metric — that is, time to full display (TTFD), not just the first frame. Startup was broken down into four phases.

PhaseWhat happensAnalysis result
1. Process startthe system creates the app processno issues
2. ActivityUI rendering kicks offno issues
3. Bootstrapnetwork requests for the data the home screen needsthe bottleneck
4. Displaythe driver interface openswaits for bootstrap to finish

Profiling showed that time was lost in the third phase: the app waited on network responses before showing the working screen. The fixes were relatively simple:

  • after decomposing backend services, some network calls were removed from the critical launch path entirely;
  • calls that could run asynchronously were made asynchronous;
  • data needed later rather than at launch stopped blocking startup;
  • blocking calls were moved to the background;
  • data started being cached between sessions.

Note that there are no "magic" compiler optimisations here. The main gain came from reviewing what the first screen really needs. In our experience, network bootstrap is the most common cause of slow TTFD in service and e-commerce apps.

The result: from milliseconds to sessions

The changes delivered an average 21% reduction in startup time and a 5% increase in driver sessions. The second number matters more than the first: it translates a technical improvement into business language. Seeing the result, Lyft leadership expanded the app excellence initiative and took on other areas, including stability.

An important caveat: 5% more sessions is the result for a specific product with a specific audience. It can't be mechanically transferred to another app. But the logic — tying speed to the user's key action — is always worth transferring.

Why context matters more than the average

What you should measure is not an abstract startup but a critical business scenario. In a driver app that might be going online, accepting a ride, the map or confirming completion. For a store — the catalogue and cart; for a bank — the balance and a transfer.

  • Define the moment after which the user can actually work, and mark it with reportFullyDrawn(), as Lyft did with time to interact.
  • Measure cold, warm and hot starts separately. A driver switching between a navigation app and yours experiences mostly warm and hot starts.
  • Segment data by device class and network conditions. The average hides drivers on old phones and in areas with weak coverage.
  • Check that optimisation doesn't hurt stability. Caching and asynchrony add new states that need testing.

How to build a business case for performance

  1. Gather a market comparison. Android vitals shows startup time against a peer group; Xcode Organizer shows trends by version on iOS.
  2. Pick one product metric that speed can influence: sessions, conversion to the key action, day-one retention.
  3. Scope the investment tightly: "one developer, four weeks" is more convincing than "a big optimisation".
  4. Break startup into phases and find the one that takes the most time.
  5. Start with the simplest changes: remove unnecessary requests, cache, defer what isn't important.
  6. Ship changes as a controlled release and compare the technical and product metrics against a control group.
  7. Show the result to leadership and propose the next step — as the Lyft team did.

We covered the more engineering-heavy side — what to do once network bootstrap is optimised but startup is still slow — using the examples of Gmail Wear OS and Android Calendar with Baseline Profiles.

Typical mistakes

  • Optimising TTID while the user is actually waiting for network data after the first frame.
  • Sequential requests at startup, each waiting for the previous one.
  • No cache between sessions: the app starts from an empty screen every time.
  • Justifying performance work with impressions rather than a market comparison and a product metric.
  • Prioritising the performance backlog separately from product and operations teams.
  • Not checking whether cached data has become so stale that it misleads the user.

Action plan

  1. Define the key action users open the app for, and mark the moment the app is ready for it.
  2. Compare your startup time with peers in Android vitals.
  3. Break startup into phases and measure each.
  4. Remove from the critical path every network request the first screen can do without.
  5. Add caching between sessions with honest indication of data freshness.
  6. Ship changes in a controlled release and compare technical and product metrics.
  7. Add the startup metric to the product team's regular report.

Speed becomes a business advantage when it supports a user's specific job. That's why the performance backlog must be prioritised together with product and operations teams. You'll find the general framework of startup metrics in our article on app startup speed.

Sources: Android Developers: Lyft improves Android app startup time; Android Developers Blog: How a single Android developer improved Lyft's Drivers app startup time by 21% in one month; Android Developers: App startup time; Android vitals: App startup time.

Gmail Wear OS: How the Team Improved App Startup by 50%

Gmail Wear OS: How the Team Improved App Startup by 50%

The small screen and limited resources of a wearable make every delay noticeable: a person raises their wrist for a few seconds, and if the app hasn't shown the mail by then, the moment is gone. The Gmail Wear OS case study published on Android Developers shows how a methodical startup analysis helps uncover non-obvious causes of a slow first screen.

The case is valuable less for its result than for the transparency of its method: the team shows step by step where to look in a trace and how to interpret what you see. We use the same analysis sequence in our own Android projects, so below is a breakdown of the case with practical commentary.

Context: why a watch is a tough test

The Gmail Wear OS team had its own performance criteria for startup and rendering and worked to meet them. An important detail the case highlights: the device had only two CPU cores. On such hardware, any parallel work — animation, background initialisation, system processes — competes with the main thread far more noticeably than on a modern eight-core phone.

The authors note that even if you have no formal thresholds, there's almost always room to improve startup if you take time to investigate. For a first assessment, you can compare your app against a peer group in Play Console and simply trust your instincts: if startup feels slow, it is.

How they found the problem: five points in the trace

The team recorded a system trace and analysed it in Perfetto, because it shows what's happening across the whole device, not just in your process. Here's what they looked at and what it means.

What to look at in the traceWhat it signalsWhat to do
The Android App Startups rowstartup boundaries up to the first frame (TTID)pin it to the top and analyse everything in that interval
Runnable vs Running ratio on the main threadthe thread is ready to work but doesn't get the CPU — contentionlook for intensive parallel work, especially animations
OpenDexFilesFromOat*time spent reading the app's DEX filesreduce code size with R8 minification
Binder transactionssystem service calls that may block startupdefer non-essential calls until after startup
Jit thread poolcode is compiled on the fly instead of ahead of timeextend the Baseline Profile to the point the screen is ready

Main thread and CPU contention

After selecting the startup interval on the main thread, the team examined the Thread States panel. The more time the thread spends in Runnable relative to Running, the more likely there's CPU contention: the thread is ready to run, but the scheduler gives the core to something else. The visible app has the highest priority, so an idle main thread often means it's being "interrupted" by intensive work inside the app itself — for example, animation rendering.

Binder transactions

The first binder transaction turned out to be long. Following the reply to the system process, the team saw a Runnable (Preempted) state and display controller events with higher priority. The conclusion: this was important system work — putting frames on the screen — and they left it as is. We consider this one of the most useful episodes in the case: not every finding in a trace needs fixing, and knowing when to stop saves days of work.

JIT activity

The app already had a Baseline Profile, so JIT barely ran before the first frame. But right after it, noticeable background compilation appeared. The fix was to extend profile collection: in the Macrobenchmark generation test, wait for a specific element that indicates the screen is fully populated.

What worked

  • A static state instead of a spinner. Having noticed CPU contention, the team replaced the animated loading indicator with a single static image.
  • Deferred shimmer. The splash screen was prolonged to defer shimmer — the second loading state — and free up CPU resources.
  • R8 rewriting of Baseline Profiles. Based on the OpenDexFilesFromOat* and JIT analysis, the team enabled profile rewriting via R8, which requires AGP 8.2 or newer.
  • A process, not a one-off. The team recommends setting up automated collection of traces and results through benchmarking.

As a result, the first group of changes — the static image and deferred shimmer — improved startup latency by 50%, and R8 rewriting by another 20%. These aren't universal percentages for every product, but they're a good example of engineering discipline: measure, find the bottleneck, change one cause and measure again. We examined how animation in general affects speed and perception in our article on animation in mobile interfaces.

How to repeat the analysis in your project

  1. Build a release-like variant: a debug build disables ART optimisations and the trace won't be representative.
  2. Record a cold-start trace on the weakest target device — via on-device system tracing or Macrobenchmark.
  3. Open the trace in Perfetto, pin Android App Startups and the two main-thread rows.
  4. Assess Runnable/Running. If Runnable is significant, look for animations and parallel tasks in that interval.
  5. Check OpenDexFilesFromOat*, binder transactions and the Jit thread pool using the table above.
  6. Form one hypothesis, make one change, re-measure on the same device.
  7. Validate the result with an A/B test or controlled release, and reject the change if it had no effect.

Typical mistakes in this kind of analysis

  • Adding loading indicators when you don't know what to optimise: they mask the problem and consume resources themselves.
  • Fixing everything that looks suspicious instead of starting with the longest frame.
  • Ignoring hardware context: on a two-core device, high Runnable time is partly expected.
  • Ending Baseline Profile collection at the first frame.
  • Judging impact on a single launch instead of a series of measurements.

Checklist

  1. There's a reproducible way to record a cold-start trace.
  2. Five points are checked: startup boundaries, Runnable/Running, DEX, binder, JIT.
  3. Startup animations are replaced with static states where they compete with the first screen.
  4. The Baseline Profile covers the journey until the screen is fully ready; R8 rewriting is enabled.
  5. Every change is validated by re-measurement and an A/B test.
  6. Trace collection is automated in CI.

Teams often add loading indicators when they don't know what to optimise. This case is a reminder that sometimes the best animation is the one you don't have to run. We described the broader framework of startup metrics in our article on app startup speed, and the role of Baseline Profiles in another example in our breakdown of the Android Calendar case.

Sources: Android Developers: How Gmail Wear OS improved app startup; Android Developers: App startup time; Android Developers: Baseline Profiles overview; Perfetto documentation.

Designing an API for Mobile Clients: Pagination, Versioning and Errors

Designing an API for Mobile Clients: Pagination, Versioning and Errors

A web client and its backend usually update together: you deploy and every user gets the new version. Mobile does not work that way. Production runs versions released eighteen months ago, devices on flaky 3G in the underground and users who switched off automatic updates. An API designed "as if for a website" becomes a constant source of crashes and client-side workarounds.

This article covers the three areas where mobile specifics bite hardest: pagination, versioning and error format. Plus idempotency, caching and the team contract, without which the first three do not hold up.

How a mobile client differs from the web

FactorWebMobile appImplication for the API
Client versionsOne currentDozens at onceBackward compatibility is mandatory
NetworkMostly stableDrops, high latency, Wi-Fi/LTE handoversIdempotency, retries, small responses
UpdatesInstantThrough review and the userKeep changeable logic on the server
ResourcesDesktop-classBattery, data, memoryFewer requests, compact payloads
LifecycleTab stays openApp is suspended and killedState restoration, reloading pages

The core rule: every API change must be safe for the oldest supported app version. Google formalises what counts as a breaking change in AIP-180: removing or renaming a field, changing a type, adding a required request field, changing defaults.

Pagination: cursors instead of pages

Offset pagination (?page=3&limit=20) is simple, but in mobile feeds it causes two classic bugs. If a new order arrives between loading page one and page two, the user sees a duplicate. If a record is deleted, an item disappears. And large offsets are slow at the database level.

Cursor (keyset) pagination passes an opaque position token: the client receives next_cursor and sends it with the next request. Google recommends this approach in AIP-158 (page_token), and for GraphQL it is standardised in the Relay Connections specification.

CriterionOffset / pageCursor (keyset)
Stability under inserts and deletesDuplicates and gapsStable
Performance on deep pagesDegrades as offset growsStable with an index
Jump to arbitrary pageYesNo (rarely needed in mobile feeds)
Total countEasySeparate, ideally cached request
Implementation effortMinimalModerate

Practical rules

  • Keep the cursor opaque (for example, base64 of the id and sort date) so you can change the implementation without touching clients.
  • The server sets the maximum page size; the client may ask for less. For mobile lists, 20–50 items is usually enough.
  • Return an explicit end marker: an empty next_cursor or has_more: false.
  • For pull-to-refresh, support fetching items newer than the first one instead of reloading the whole list.
  • Make sorting deterministic, "by date, then by id", or records with identical dates shuffle between pages.

Versioning: not breaking old apps

There are three common approaches: version in the URL (/v2/orders), in a header (Accept or a custom one), or dated versions as at Stripe, where each client is pinned to a specific API date. For most mobile products we recommend the simple path: a major version in the URL and as many additive changes within it as possible.

Additive changes are safe

  • A new optional response field. The client must ignore unknown fields: verify your JSON decoder does not choke on them (in Swift Codable and kotlinx.serialization this is a configuration choice, not universal default behaviour).
  • A new endpoint or a new optional query parameter.
  • A new enum value, but only if the client maps unknown values to "unknown" instead of crashing.

Version support policy

  1. The client sends its app version and platform with every request (for example, an X-App-Version header). That gives you statistics and the option to vary behaviour selectively.
  2. Define a minimum supported version and a window, for example versions from the last 12 months.
  3. Implement soft and hard update prompts: a config endpoint returns min_supported and recommended versions. Android offers the In-App Updates API; on iOS, a custom screen linking to the App Store.
  4. Before retiring an old API version, check its share of traffic. We usually wait until it falls below 1–2% of active users and announce the forced update in advance.

Errors: one format for the whole API

The worst variant, which we see regularly: 200 OK with {"success": false} in the body, different error shapes per endpoint, and English text the client shows to users verbatim. RFC 9457 Problem Details (the successor to RFC 7807) defines a single structure: type, title, status, detail, instance plus custom extensions.

What a mobile client needs from an error

  • The correct HTTP status per RFC 9110: 400/422 for invalid input, 401 for missing authentication, 403 for missing permission, 404 for a missing resource, 409 for a conflict, 429 for too many requests, 5xx for server problems.
  • A machine-readable code (type or code) the client uses to decide what to do: show an inline error, offer a retry or sign the user out.
  • Per-field validation errors so a specific form field can be highlighted.
  • A request id for log lookups when the user contacts support.
  • Localised text, either via Accept-Language or on the client by code. What matters is that ownership is clear.
SituationStatusClient behaviour
Invalid e-mail in a form422 + per-field errorsHighlight the field, do not retry
Expired access token401Refresh the token and retry once
Item sold out during checkout409 + out_of_stock codeShow a dialog and refresh the cart
Rate limit exceeded429 + Retry-AfterWait the given time, show a message
Server failure500/503Retry with exponential backoff, show cached data

Idempotency and unreliable networks

The user taps "Pay", the request reaches the server, and the response is lost in a tunnel. The client retries and creates a second order. The fix is an idempotency key: the client generates a UUID for the operation and sends it in an Idempotency-Key header; when the server sees a retry with the same key, it returns the stored result. This is how the Stripe API works, and the header is being standardised at the IETF.

GET, PUT and DELETE are idempotent by definition; POST is not. So keys matter most for creating orders, payments, messages and any money-related operation.

Performance: fewer requests, fewer bytes

  • Aggregate data per screen. If the home screen makes eight requests at launch, consider an endpoint that returns everything in one call (the Backend for Frontend pattern).
  • Conditional requests. ETag and If-None-Match let the server reply 304 Not Modified without a body.
  • Compression. gzip or brotli shrinks JSON several-fold.
  • Image size. Serve URLs with size parameters, not multi-megabyte originals.
  • Timestamps. All dates in ISO 8601 with a time zone (UTC); formatting happens on the client.

The contract between backend and mobile teams

An OpenAPI description is not box-ticking documentation but a contract. From it you can generate client code, a mock server so mobile developers do not wait for the backend, and contract tests that catch breaking changes in CI. A practice that works well in our projects: every schema change is reviewed by a mobile developer, and CI automatically diffs the new schema against the previous one and blocks field removals.

Common mistakes

  • Renaming a field "because it reads better" without a new API version.
  • Offset pagination in frequently updated feeds.
  • Errors returned with status 200, and different error formats per endpoint.
  • No forced-update mechanism in the first release: you cannot retrofit it into old versions later.
  • Retrying POST requests without an idempotency key.
  • A client decoder that crashes on an unknown field or enum value.

API checklist before release

  1. Cursor pagination with deterministic sorting and an explicit end marker.
  2. A documented versioning policy and minimum supported app version.
  3. A config endpoint with a min_supported version in the very first release.
  4. A single error format (RFC 9457), machine-readable codes, request ids.
  5. Idempotency-Key for every non-idempotent money or order operation.
  6. The client ignores unknown fields and handles unknown enum values.
  7. OpenAPI schema in the repository, backward-compatibility checks in CI.
  8. ETags, compression and aggregated endpoints for key screens.

Sources: RFC 9457: Problem Details for HTTP APIs; RFC 9110: HTTP Semantics; Google AIP-158: Pagination; Google AIP-180: Backwards compatibility; GraphQL Cursor Connections Specification; Stripe: API versioning; Stripe: Idempotent requests; IETF: The Idempotency-Key HTTP Header Field; OpenAPI Specification; Android: In-app updates.

Google Play for Games: Foldable Screenshots from April 2027 and Tier 3 from August 2027

Google Play for Games: Foldable Screenshots from April 2027 and Tier 3 from August 2027

On 18 November 2026 Google Play announced new requirements for games on large screens and foldables. Two dates are already set: from April 2027 a game's listing must include foldable screenshots, and from August 2027 a game must meet the baseline Tier 3 of the large screen quality guidelines. Otherwise new games and updates cannot be published.

For game studios this means planning testing and art for several form factors well in advance. Below we go through what exactly Google requires, what Tier 3 covers and what to prepare now.

What Google announced

The Android Developers Blog post of 18 November 2026 describes two requirements:

  • Foldable screenshots (April 2027). New games and store listing updates need at least 3 foldable screenshots in addition to 1 standard phone screenshot, in the game's primary orientation. You can already upload them in Play Console (Grow → Store presence → Store listings).
  • Baseline Tier 3 "Ready" (August 2027). To publish new games and updates, a game must meet at least this level of the large screen and foldables guidelines.

The August milestone focuses on foldables first. Google says the requirements will later extend to tablets, Googlebook laptops and other large screens.

Which screenshots you need

The formats depend on the device type:

  • Standard phones: a screenshot in the game's primary orientation, 16:9 (landscape) or 9:16 (portrait).
  • Foldables with a 1:1 inner display (for example Samsung Galaxy Z Fold8 Ultra, Google Pixel 11 Pro Fold): at least one screenshot of the unfolded 1:1 inner screen. No separate outer screen screenshot is needed because its aspect ratio matches standard phones.
  • Foldables with a 4:3 inner display (for example Samsung Galaxy Z Fold8): at least one screenshot of the 4:3 (or 3:4) inner screen and one of the 16:10 (or 10:16) outer screen.

Screenshots from the Android Emulator's 1:1 and 4:3 foldable devices fully comply with the new Play Console requirements.

The three quality tiers

TierWhat is evaluatedStatus
Tier 3: ReadyFull-screen rendering in supported orientations, unobstructed HUD safe areas, clean in-engine letterbox/pillarbox in unsupported orientations, state and touch alignment preserved across folding, unfolding, rotation and multi-window resizingRequired from August 2027
Tier 2: OptimizedHigh-resolution graphics, proportional HUD scaling, styled framing when letterboxing, smooth frame pacing, full playability with external controllers, keyboards and miceBadging and enhanced merchandising
Tier 1: DifferentiatedSustained 60 FPS (120 FPS on supported displays), thermal and battery stability in long unfolded sessions, efficient modern graphics rendering, dynamic resolution scaling between inner and cover screensBadging and enhanced merchandising

Google notes that Tier 1 and Tier 2 unlock foldable badging on the Play Store, enhanced merchandising and a path to the Google Play Games Level Up program.

What to check in your game

  1. Configuration changes without losing progress. Folding and unfolding the device must not restart the session or reset level progress.
  2. HUD safe areas. UI elements must not be cut off or stretched on the unfolded screen.
  3. Unsupported orientation. If the game supports a single orientation, it should add bars cleanly inside the engine when rotated.
  4. Touch alignment. After the window is resized, touch points must match what the player sees.
  5. Multi-window. Check behavior in a resizable window.

Google points out that with modern engines much of the foundation is already in place: Unity and Unreal have dedicated guides for large screens and resizing.

Timeline

  • November 2026: you can upload foldable screenshots; they will appear in listings over the next few weeks.
  • April 2027: new games and updates must include foldable screenshots at submission.
  • August 2027: baseline Tier 3 is required to publish new games and updates.

You can test on physical devices, in Android Device Streaming, in engine simulators (Unity Device Simulator, Unreal viewport profiles) and in the Android Emulator for 1:1 and 4:3 form factors.

Conclusion

There is enough time to prepare, but game design and UI are the hardest things to change at the last minute. A practical order: capture foldable screenshots, run the game against the Tier 3 checklist on the 1:1 and 4:3 emulators, fix state loss and HUD issues, then look at Tier 2 for badging and merchandising.

Need a foldable audit for your game or help adapting the interface? Get in touch: we will look at your build and propose a plan.

Jetpack Compose 1.13: What Is Deprecated, What Changed and What to Migrate Now

Jetpack Compose 1.13: What Is Deprecated, What Changed and What to Migrate Now

On 18 November 2026 stable Jetpack Compose 1.13 shipped (BOM 2026.11.01). It is not only about new effects: the release deprecates several familiar tools and changes how clickable elements behave. Below we go through what to migrate now and what can wait.

All facts below come from the Android Developers Blog post.

Upgrade requirements

Moving to BOM 2026.11.01 requires Kotlin 2.2 or newer and compileSdk 37.1. If a project is still on an older toolchain, start the upgrade there:

implementation(platform("androidx.compose:compose-bom:2026.11.01"))

What is deprecated

WhatWhat changedWhat to move to
Value-based BasicTextField and Material 2 TextFieldOfficially deprecatedState-based BasicTextField with TextFieldState; in Material 3 the value-based overloads are not deprecated yet, but Google recommends migrating
VisualTransformationDeprecatedOutputTransformation and InputTransformation
Compose Material 2Deprecated and no longer actively maintainedMaterial 3 1.5.0
ConstraintLayout and MotionLayout in ComposeDeprecated (the constraintlayout-compose artifact)Modern Compose layout and animation tools, including the Shared Element APIs
Modifier.onFocusedBoundsChangedImplementation removed; the modifier has no effectFocusTargetModifierNode.getFocusedRect(), onFocusChanged, BringIntoViewRequester

Built-in scrolling containers such as LazyColumn and Modifier.verticalScroll already bring focused content into view, so the removed modifier does not affect them.

What was added

  • FlexBox and Grid are stable. FlexBox gained maxItemsInEachLine and, according to Google, supersedes FlowRow and FlowColumn in new code.
  • computedStateOf is a lighter alternative to derivedStateOf for condition checks and filtered state computed from frequently changing values such as scroll position. It does not cache the result, so it has less overhead. Keep derivedStateOf for heavy calculations or where caching is needed.
  • Stable LazyLayoutCacheWindow. Window-based prefetching replaces item-based prefetching in lists, grids and staggered grids; the cache window settings moved from rememberLazyListState into the layout composables themselves.
  • Progressive blur, PolygonShape and MorphPolygonShape. Blur properties can be set directly on DialogProperties.
  • CapturedAnimatedVisibility. It animates a snapshot of the last frame instead of keeping state alive, which helps when data disappears immediately (for example closing a details pane sets the selected item to null). In Google's benchmarks, frame time during exit is 7–8% faster than with AnimatedVisibility.
  • TestFailurePolicy. It automatically saves a screenshot and the semantics tree when a UI test fails, which is handy in CI.
  • Material 3 1.5.0. Experimental annotations dropped from 120 to 58; Slider and RangeSlider moved to SliderState.

Behavior change: click sounds

Elements using Modifier.clickable (and components built on it) now automatically play standard Android interaction sounds, respecting the user's system sound settings. If you previously triggered such sounds manually or deliberately avoided them, check screens with clickable elements after the upgrade.

Performance: what the numbers say

Google states that on a Pixel 6, Compose 1.13 matches version 1.12.1 on baseline startup and scrolling benchmarks with a 0% jank rate. Cold start Time to Initial Display is 147.65 ms for Compose versus 152.87 ms for Views. Views are still faster on Time to Full Display (180.32 ms versus 202.79 ms for Compose), and P50 scrolling frame duration is 3.51 ms for Compose versus 3.06 ms for Views.

On the tooling side there is Perfetto recomposition tracing (recording state reads and writes) and a static analysis performance skill available through Android CLI. Google warns that recomposition tracing adds overhead, so disable it when measuring performance.

Migration plan

  1. Update the toolchain: Kotlin 2.2+ and compileSdk 37.1, then BOM 2026.11.01.
  2. Find deprecated APIs: value-based text fields, ConstraintLayout in Compose, Material 2, onFocusedBoundsChanged.
  3. Start with text fields: moving to TextFieldState changes the state model, so do it as a separate step.
  4. Walk through clickable screens: check the new system sounds.
  5. Measure: compare startup and scrolling before and after on real devices.

Two experimental tracks are worth knowing about: the Styles API remains experimental, and the androidx.web:web:1.0.0-alpha01 library and the A2UI renderer (material3-a2ui:1.0.0-alpha02) are still alpha, so do not plan production work on them.

Conclusion

Compose 1.13 does not break an app out of the box, but it clearly shows what will be removed next: value-based text fields, Material 2 and ConstraintLayout in Compose. It is better to plan the migration across the next sprints than to do it all at once alongside other changes.

Need help migrating a Compose app or an audit of your UI code? Get in touch: we will look at the project and propose a plan.

App Store Tax and Price Updates: What Changes on 3 December 2026 and 1 January 2027

App Store Tax and Price Updates: What Changes on 3 December 2026 and 1 January 2027

On 17 November 2026 Apple announced tax and price changes for apps, in-app purchases and subscriptions. Some changes take effect on 3 December 2026, others on 1 January 2027. For teams with a paid app this is a chance to check the base storefront, tax categories and prices before the deadlines.

All facts below come from the Apple Developer news post.

New taxes

CountryWhat is introduced
Botswana14% VAT
Cameroon3% Significant Economic Presence (SEP) tax
Côte d'Ivoire3% SEP tax
Rwanda18% VAT

Exhibit B of the Paid Applications Agreement will be updated to say that Apple collects and remits the applicable taxes in Botswana and Rwanda. Translations will be available within one month. The post does not give an effective date for the changes in these four countries.

Price updates from 3 December 2026

Apple will update prices on these storefronts: Botswana, Colombia, Egypt, Rwanda and Türkiye. The updates also account for the new VAT. In practice:

  • If your app's base storefront is one of these five, prices there stay the same and other storefronts are re-equalized to your base price.
  • Auto-renewable subscriptions: prices do not change in any region.
  • Prices you manage manually are not affected on these storefronts.

California sales tax from 1 January 2027

From 1 January 2027 California sales and use tax applies to SaaS, App Store Software, Software Training Material, Dating and Boosting. Prices on the US storefront are displayed without tax, so your proceeds do not change, but the total customers pay may rise.

What developers should do

  1. Review upcoming price changes in App Store Connect under Pricing and Availability.
  2. Check your base storefront and change it if needed: it determines which prices are equalized.
  3. Review tax categories. If your app or purchases fall under SaaS, App Store Software, Software Training Material, Dating or Boosting, check the new SaaS attribute in Pricing and Availability.
  4. Adjust prices if you want. You can change prices for apps, IAPs and auto-renewable subscriptions at any time.

What it means for the product

For most teams this news does not require development work, but it does require attention to settings. Three questions are worth answering. First, is the base storefront chosen correctly, since prices in other countries depend on it. Second, does the product fall into the categories with the new California tax, and does anything need explaining to users at checkout. Third, do you manage prices manually or rely on Apple's equalization: 3 December works differently in each case.

If you sell subscriptions, it is also worth reviewing the plan structure and trial periods: pricing should be planned, not only revisited when Apple changes prices.

Conclusion

The dates are set: 3 December 2026 (price updates on five storefronts) and 1 January 2027 (California tax). One pass through the checklist in App Store Connect is enough to avoid surprises in prices or proceeds.

Need help with monetization, subscription pricing or preparing an app for the App Store? Get in touch: we will look at your model and propose a plan.

Android Calendar and Baseline Profiles: How Startup Optimization Reduces Jank

Android Calendar and Baseline Profiles: How Startup Optimization Reduces Jank

Mobile app optimisation often starts with a feeling that "it's slow", but it should end with a measurable result. Baseline Profiles give a team a way to describe the most important code paths in advance and reduce the work a device does during the first launches and in key journeys.

The Android Calendar case study published on Android Developers is one of the best-documented examples: it has the motivation, the specific journeys, the measurement method and before-and-after numbers. We break it down in detail and add what we see when introducing profiles in our own Android projects.

How Baseline Profiles work

When an Android app launches for the first time after installation, a large share of its code runs in the interpreter or is compiled on the fly by the JIT compiler. That costs CPU time exactly when the user is waiting for the first screen. A Baseline Profile is a list of classes and methods worth compiling in advance. The profile ships with the build, and at install time the system compiles that code ahead of time.

According to Android documentation, Baseline Profiles speed up code execution by about 30% from the first launch, because they skip interpretation and JIT for key journeys. Profiles help not only startup but also smoothness: scrolling, screen transitions, opening complex lists.

There's another mechanism — Cloud Profiles, which Google Play builds automatically from real-world app usage. The Calendar team already had Cloud Profiles, so it's important to understand the difference.

ParameterCloud ProfilesBaseline Profiles
Setupenabled by defaultconfigured by the team
Which journeys are includedchosen automatically from user datachosen by the team
Work best for a user base that islargeany size
When the impact appearsa few days after releaseimmediately
Android versionsAndroid 9 (API 28) and higherAndroid 7 (API 24) and higher

Why the Calendar team needed its own profiles

The main reason was the move to a weekly release cycle. Cloud Profiles reach peak impact only 1–2 days after a version ships, because they rely on aggregated user data. With a weekly cycle, that means people spend a large share of the time on an unoptimised build. Baseline Profiles take effect from the first minute after the update is installed.

The second reason was control. The team wanted to choose the critical user journeys (CUJs) included in the profile themselves. There were two:

  • Opening the app in schedule view — the default view, so it matters for new users and those who don't change settings.
  • Opening the app in month view — according to analytics, many users choose it.

Profiles were generated through an internal wrapper around Jetpack Macrobenchmark: the test launches the app, waits for recurring events and tasks to appear on screen, opens the side drawer and verifies the selected view. Note the detail: the test waits for real content, not just the first frame.

How they measured the result without an A/B test

Baseline Profiles are tightly bound to the APK and are applied before the code runs, so a classic A/B experiment within one version is impossible. The team used controlled releases: only a subset of users received the new version, and its metrics were compared with a group on a version as close as possible to the previous one. Results were aggregated across a wide range of devices:

  • median interactive startup — the most common scenario — dropped from 775 to 644 ms (17%);
  • median cold start — from 1,058 to 901 ms (15%);
  • median warm start — from 453 to 378 ms (17%);
  • the median janky frame rate in schedule and month views decreased by 42–60%.

Overall, the team reports roughly a 20% startup improvement and about a 50% reduction in slow or frozen frames. Even users who open other views benefited: shared processes, such as loading calendar data from the database, were also covered by the profile. The documentation adds a caveat: if Cloud Profiles run in parallel, the difference shrinks slightly during the first week as cloud profiles "catch up".

How to introduce Baseline Profiles: step by step

  1. Pick 2–4 critical journeys. Cold start to the main screen, the most popular transition, the main scrolling list. Use analytics data, not assumptions.
  2. Add the Baseline Profile Gradle plugin and create a module for profile generation. Android Studio has a ready-made template.
  3. Write the generator with BaselineProfileRule. Take the journey to the point where the screen is genuinely populated: wait for a specific UI element. For startup, enable includeInStartupProfile to also get DEX layout optimisation.
  4. Generate the profile on an emulator or physical device and commit the result to the repository.
  5. Measure the effect with Macrobenchmark: compare CompilationMode.None with CompilationMode.Partial using the profile, with StartupTimingMetric and FrameTimingMetric.
  6. Enable R8. R8 rewriting of profiles requires AGP 8.2 or newer; in the Gmail Wear OS case study, that alone added another 20% to startup speed.
  7. Automate regeneration. A profile ages along with the code — regenerate it in CI before every release.
  8. Check field data in Android vitals after a controlled release.

What matters for other teams

  • Profile real key journeys, not a random set of screens.
  • Check results across device classes: the gain is usually largest on weak devices. We explained why this matters in our article on testing on inexpensive devices.
  • Compare controlled groups when an A/B test isn't possible.
  • Combine profiles with Macrobenchmark in the lab and field metrics in Play Console.

Typical mistakes

  • Expecting profiles to fix poor architecture. If Application.onCreate synchronously initialises a dozen SDKs, a profile will only speed up unnecessary work a little.
  • Generating a profile once and forgetting it: a few releases later it covers the wrong code.
  • Measuring on a debug build, where profiles and R8 don't behave as in release.
  • Ending the generation journey at the first frame, so data-loading code never makes it into the profile.
  • Not checking whether the profile actually gets installed: ProfileVerifier in the ProfileInstaller library exists for that.

Checklist

  1. 2–4 critical journeys are defined based on analytics.
  2. The profile generation module works and runs in CI.
  3. There's a Macrobenchmark for startup and smoothness comparing "no profile / with profile".
  4. R8 is enabled and AGP 8.2+ is used.
  5. The effect is confirmed by a controlled release and Android vitals data.
  6. Results are tied to product metrics: abandonment, rating, completion of the key action.

Baseline Profiles work best when the team already knows which path has to be fast. We laid out the general framework of startup metrics in our article on app startup speed. For the business, it's important to link the technical improvement to behaviour: faster startup can reduce abandonment and raise ratings, but that has to be verified with data, not assumed.

Sources: Android Developers: Android Calendar Baseline Profiles case study; Android Developers: Baseline Profiles overview; Android Developers: Benchmark Baseline Profiles with Macrobenchmark; Android Developers: Gmail Wear OS startup case study.

Black Friday and the Holidays: Preparing Your App and Backend for Peak Load

Black Friday and the Holidays: Preparing Your App and Backend for Peak Load

In 2026 Black Friday falls on 27 November and Cyber Monday on the 30th, followed without a break by Christmas and New Year sales. For e-commerce, delivery, ticketing and fintech apps these are the weeks when traffic can multiply within minutes and every minute of downtime costs real money. The worst part is that peak-time problems are rarely new: they existed all year, and the load simply exposed them.

Below is a practical plan for preparing the mobile client and the backend: what to measure, how to run load tests, which safeguards to build into the app and how to organise on-call on the day. If you are reading this a week before the peak, skip straight to "Short on time".

Why a mobile app breaks differently from a website

A website can be fixed with a five-minute deploy. A mobile app cannot: the fix must pass review, and users take days or weeks to update. According to Apple, on average 90% of submissions are reviewed in less than 24 hours, but "on average" does not mean "guaranteed on Friday morning". So anything you might need to change during the peak has to be server-controlled.

The second difference is that clients generate load themselves. Millions of devices opening the app after the same push, or thousands of clients aggressively retrying after an error, can take down a backend harder than real shoppers. The Google SRE Book describes this as cascading failure: overload in one service, amplified by retries, spreads across the whole system.

Preparation timeline

WhenWhat we doOutcome
6–8 weeks outPeak forecast, bottleneck audit, load test planTarget RPS and a risk list
4–6 weeks outLoad tests, query optimisation, caching, autoscaling tuningConfirmed capacity headroom
3–4 weeks outLast release with safeguards: kill switch, backoff, degradationA server-controlled app
2 weeks outCode freeze for mobile releases and infrastructure changesA stable version on most devices
1 week outDress rehearsal, runbook, on-call rota, warn providersThe team knows what to do
The dayWar room, dashboards, controlled push campaignsFast incident response

Why ship the last feature release 3–4 weeks ahead? So the version with safeguards has time to spread. With a phased release on the App Store, an update rolls out via automatic updates over 7 days (1%, 2%, 5%, 10%, 20%, 50%, 100%); on Google Play a staged rollout is controlled manually. And some users never enable automatic updates.

Step 1. Forecast the load and set targets

  1. Use historical data. Last year's peak requests per second (RPS), hourly dynamics, the share of mobile traffic.
  2. Factor in audience growth and marketing. Planned pushes, e-mails and ads. A push to the whole base creates a wall of traffic within minutes.
  3. Add headroom. The practical guideline we use: test at 2–3× the forecast peak.
  4. Define SLOs for the critical path. For example, catalogue API p95 ≤ 300 ms, checkout 5xx error rate ≤ 0.5%.

The critical path is not the whole app. For a store it is launch, catalogue, product page, cart, payment and order status. Recommendations, reviews and wishlists can degrade without losing revenue. Remember that according to the Baymard Institute around 70% of carts are abandoned even on ordinary days; a slow checkout at peak only makes that worse.

Step 2. Load-test the backend

Tools such as k6, Gatling or Locust let you script realistic behaviour. The key is to test mobile client scenarios, not isolated endpoints.

Test typeWhat it checksWhat to watch
Load testStability at the forecast peak for 30–60 minp95/p99 latency, error rate, database utilisation
Stress testThe breaking point and behaviour beyond itGraceful degradation versus total failure
Spike testA sudden jump, as after a mass pushAutoscaling speed, cold starts, connection queues
Soak testSeveral hours under loadMemory leaks, exhausted pools, growing queues

Typical bottlenecks we find

  • The database. Unindexed queries, N+1 in lists, an exhausted connection pool. The database usually breaks first.
  • The app's startup request. One heavy configuration endpoint called by every client at launch is a perfect candidate for a CDN and caching.
  • Third-party services. Payment, SMS, search and recommendation providers have their own limits. Warn them about the peak and confirm quotas in advance.
  • Autoscaling. New instances take minutes to start while a spike lasts seconds. Raise the minimum instance count for the peak period ahead of time.

Step 3. Safeguards in the mobile client

These must be in the app before code freeze; you cannot add them on the day.

Retries with exponential backoff and jitter

If the client retries immediately after an error, thousands of devices hit an already struggling server in sync. The right approach is exponential backoff (1 s, 2 s, 4 s…) with random jitter and a cap on attempts. The AWS Architecture Blog shows in detail why jitter matters. Retry only idempotent requests; for order creation use an idempotency key so that a retry does not create a duplicate.

Respect 429 and Retry-After

An overloaded server should return 429 Too Many Requests with a Retry-After header, and the client should honestly wait that long while showing a clear message rather than an endless spinner.

Remote config and a kill switch

With Firebase Remote Config or your own config endpoint you should be able to switch off heavy features (recommendations, live chat), lengthen refresh intervals, put the app into a "catalogue and checkout only" mode and show a maintenance banner. Check that every flag actually works, not just that it exists in code.

Circuit breakers and graceful degradation

The circuit breaker pattern, on the backend and in the client, stops calling a service that keeps failing. The app shows cached data or a simplified screen instead of a full-screen error. Google SRE advises designing systems that, under overload, shed load in a controlled way instead of collapsing entirely.

Step 4. Push campaigns without self-sabotage

A push to a million users at midnight is the easiest way to DDoS your own backend. What helps:

  • Send in waves by segment, 5–15 minutes apart, rather than to everyone at once.
  • Make the push tap open cached or static content and load personal data afterwards.
  • Mind provider limits: FCM throttles fan-out rate and messages per device.
  • Agree the push schedule with the infrastructure team, not just marketing.

Step 5. The day: monitoring and response

MetricWhere to lookAction signal (example threshold)
5xx rate on the critical pathAPM / API logs> 1% for 5 min
Checkout p95 latencyAPM> 2× baseline
Crash-free sessionsCrashlytics / SentryDrop of 0.5 pp from normal
Payment conversionProduct analyticsSharp drop while traffic grows
Database and pool utilisationInfrastructure monitoring> 80% sustained
Payment provider errorsIntegration logs, status pageAny rise in declines

Prepare a runbook: for every scenario (database down, payment provider failing, a 429 surge) define who decides, which flags to flip and what to tell users. Assign on-call engineers to each shift and a communication channel. "Turn off recommendations" should take a minute to decide, not half an hour of debate.

Common mistakes

  • Shipping a new feature the day before the peak. Any change in this window is a risk that does not pay off.
  • Testing only on staging with an empty database. A query that takes 5 ms over thousands of rows can take seconds over tens of millions.
  • Aggressive client retries. Without backoff, your app becomes the attacker.
  • Untested flags. A kill switch that does not work in older app versions is useless.
  • Forgotten third-party limits. Your backend held, but the SMS provider or geocoder started refusing.
  • No retrospective. Capture metrics and decisions after the peak, or next year starts from scratch.

Short on time: the minimum checklist

  1. Freeze releases and infrastructure changes until the peak is over.
  2. Raise minimum instance counts and check your cloud provider's limits.
  3. Cache startup config, catalogue and banners on a CDN.
  4. Warn your payment provider, SMS service and other integrations about the expected peak.
  5. Verify which remote flags actually work in the versions users have installed.
  6. Split push campaigns into waves.
  7. Set alerts on 5xx, latency, crash rate and conversion; assign on-call.
  8. Prepare user-facing messages in case of an outage.

Sources: Google SRE Book: Handling Overload; Google SRE Book: Addressing Cascading Failures; AWS: Exponential Backoff and Jitter; Martin Fowler: Circuit Breaker; RFC 6585: 429 Too Many Requests; App Store Connect: phased release; Google Play: staged rollouts; Apple: App Review; Firebase Remote Config; Firebase Cloud Messaging: throttling and quotas; Grafana k6; Baymard Institute: cart abandonment rate.

App Review Guidelines, October 2026: What Changed in 2.3.14, 2.5.19 and 1.2

App Review Guidelines, October 2026: What Changed in 2.3.14, 2.5.19 and 1.2

On 16 October 2026 Apple updated the App Review Guidelines. The changes do not look loud: one new rule about creative assets, a separate number for the rule on hidden features, and a few clarifications. But small wording like this is exactly what most often causes a rejection a team did not expect. Here is what changed and what to check in your app and on your App Store page.

What changed

According to Apple's description, the update covers the following items:

ItemWhat is newWho it affects
2.3.14 (new)A rule on creative assetsEveryone who designs an App Store page
2.5.19 (new)A ban on hidden, dormant or undocumented features; previously part of 2.3.1Everyone, especially teams that test features behind flags
1.2 (changed)Clarifies which app types and content the user-generated content rule coversApps with chats, comments, reviews, feeds
5 (changed)Apps that facilitate human trafficking or child exploitation are removed and blocked from alternative distributionPlatforms with UGC and communities
3.1.1(a)The Music Streaming Services Entitlements bullet is removed and merged into StoreKit External Purchase Link Entitlements; links may point to a permitted destinationApps with external purchase links

Apple also added links to additional documentation in "Before You Submit" and "After You Submit" and said translations will appear on its website within a month.

2.3.14: creative assets on your app page

The new rule did not appear by chance. On 5 October Apple introduced new creative assets: images and video in product page headers and in search results. Rule 2.3.14 sets the limits for them. According to Apple's text, creative assets:

  • must pertain to the app's content and functionality or its overarching brand;
  • must follow standard metadata guidelines;
  • must be appropriate for all audiences.

They must not include inappropriate content, references to other apps with an intent to mislead, unverifiable product claims, or specific or discounted pricing information. The last point matters for seasonal campaigns: a "50% off today only" banner will not pass as a creative asset. Announce discounts through other means, not in the page visuals.

2.5.19: hidden and undocumented features

This is not a new ban: it used to be part of 2.3.1 and now has its own number. The point is that an app must not contain "hidden, dormant, or undocumented features", and its behavior should be clear to both users and reviewers. Apple adds that trying to hide such features, including through code obfuscation, is grounds for removal of the app and termination of the developer account.

This is not a ban on obfuscation as such: it remains a normal way to protect code. The rule is about hiding what the app does. In practice, check:

  • Server-side flags (remote config). If a feature is switched on remotely after review, its existence should be described in the App Review notes;
  • Dormant features. Code for future capabilities sitting in the build should either be removed or documented;
  • Tester modes and hidden menus. Do not leave them in the production build without an explanation;
  • Workaround paths. Anything that changes behavior depending on the country or the reviewer's account is a risk.

In a separate announcement on 16 October Apple explains that 2.5.19 clarifies the long-standing ban on bait-and-switch: an app that misrepresents what it does during review and then adds features that were not in the submitted version after approval. Such apps can be removed from the App Store and the developer removed from the Apple Developer Program.

1.2: user-generated content

Rule 1.2 requires four things from apps that let users create, upload or share content:

  • a method for filtering objectionable material;
  • a mechanism to report offensive content, with timely responses;
  • the ability to block abusive users;
  • published contact information.

What is new in the clarification: failing to implement appropriate safeguards, or failing to remediate violations after notice, can be treated as a violation of the Developer Code of Conduct. So the risk is no longer limited to a rejected update; it also reaches the account. In its explanatory announcement Apple explicitly names nonconsensual intimate imagery, including imagery created with AI tools: apps with UGC must proactively prevent and remove it. If you have chats, comments, reviews or communities, check that all four mechanisms really work, not just on paper.

3.1.1(a): external purchase links

The change in 3.1.1(a) is technical: the Music Streaming Services Entitlements bullet is removed and merged into StoreKit External Purchase Link Entitlements. Developers can apply for an entitlement to include a link to a permitted destination for purchasing digital content. Outside specific regions and outside the US storefront, the rules say apps and their metadata may not include buttons, external links or other calls to action that direct customers to purchasing mechanisms other than in-app purchase. If you work with external payments, compare the current rule text with your storefront.

A checklist before your next release

AreaQuestionAction
Creative assetsDo banners show prices, discounts or comparisons with other apps?Remove prices and unverifiable claims
FeaturesDoes the build contain features the reviewer does not know about?Describe them in the review notes or remove them
Remote configDoes a flag change the essence of the app after review?Document every such flag
UGCDo filtering, reporting, blocking and contacts work?Test the flows manually and assign an owner for reports
External purchasesDoes the link text match the current version of 3.1.1(a)?Check against the rule for your storefront

The "Who it affects" column in the first table and this table reflect our practice and interpretation, not Apple's official position. For the full text see the App Review Guidelines.

Conclusion

The October update does not change the rules of the game, but it narrows the room for small violations: prices in creative assets, undocumented flags, weak moderation. These checks fit well into a pre-release checklist, and they cost less than a rejected update in peak season.

Want us to check your app before an App Store submission? Get in touch: we will run a compliance audit and help prepare the page and the reviewer notes.

Journal

Ideas and products