why your onboarding overlay broke on tuesday
nobody touched the onboarding guide. somebody moved a button in the partner app. that's all it takes, and in a fast-moving driver app it happens most releases.
by shritupdated 7 min read

tl;dr (too long, didn't read)
onboarding overlays and product tours in an Android app break because each step is tied to a way of finding a view, and most of those ways describe where the view sits or what it says. move it or relabel it, and the step points at nothing.
the usual culprits are screen coordinates, positions in a list, long view hierarchy paths, and matching on visible text. staged rollouts, city flags and language settings break the rest.
the fix is mostly a habit: give every view a guide depends on a stable id, agree on it with engineering, and get told the moment a release breaks a step instead of hearing it weeks later from the support line.
the overlay didn't change. the screen did.
picture an ops team at a delivery startup that builds a careful onboarding overlay for new drivers. it highlights the documents button, then the training video, then the online toggle, with a line of Hindi under each. it works. new drivers follow it to their first order.
then the app team ships a release that moves the online toggle into a new bottom sheet, because the home screen was getting crowded. the screen looks better to everyone in the office. to the overlay, which was told to find "the switch at the top right of the home layout", the toggle is gone. new drivers now see a highlight circling an empty patch of screen, tap around it, and either call support or close the app.
this is the most common way in-app onboarding fails, and it gets talked about strangely little. demos never show it, because demos happen on the day the guide was built. it shows up in month two, quietly, and the first anyone hears of it is a rise in calls that nobody connects to the release.
what an anchor actually promises
every step in a guide has to find one view on the screen. on the web, tools do that with a CSS selector. on Android there's no single standard, so each tool picks its own way: a resource id, a path through the view hierarchy, a position in a list, the text on a button, or, in the bluntest tools, a pair of screen coordinates. the tool stores that description, and each time the step runs it looks for whatever matches.
the trap is that every anchor is a promise about the future. when a step says "the third item in this RecyclerView", it's promising nobody will add an item above it. when it says "the button that reads Go Online", it's promising the copy won't change and the driver won't switch the app to Hindi. a lot of overlay builders make these promises for you when you tap a view in their editor, so nobody notices they were made.
some promises are safe and some are obviously fragile once you look at them. these are the ones that break most often in driver apps:
| anchor habit | example | what breaks it |
|---|---|---|
| screen coordinates | tap target at x 920, y 180 | a different screen size, font scale or notch |
| position in a list | item 3 in the order history RecyclerView | a new card above it, like a promo banner |
| view hierarchy path | LinearLayout > FrameLayout > second child | a layout refactor that adds or removes one wrapper |
| visible text | button text equals "Go Online" | a copy change, or a driver using the Hindi or Telugu build |
| a reused id | @+id/button used on several screens | the step matching the wrong button on the wrong screen |
| screen it lives on | toggle expected on the home screen | a redesign that moves it into a bottom sheet |
the sneaky ones: rollouts, flags and languages
even a well-chosen anchor can fail for reasons that have nothing to do with code quality.
staged rollouts are the classic case. you push a release to 20% of drivers on the Play Store. for that group the toggle moved, and for everyone else it didn't. drivers also update late, so the old version lingers for weeks. a guide built against one version breaks for the other, and the reports are confusing enough that people start doubting the drivers who sent them.
remote config and city flags do the same thing more slowly. a slot booking screen only exists in three cities, or a new documents step only shows for bike drivers. the guide works in the editor, where the builder's test account has everything switched on, and fails for a real driver in a city that doesn't have the flag.
language is the last one, and in Indian driver apps it's the big one. if any step matches on visible text, it works in English and silently fails the moment a driver picks Hindi, which is exactly the driver who needed the guide most.
the fix is a convention
almost all of this goes away with one agreement between whoever writes the onboarding guides and whoever builds the app: every view a guide depends on gets a stable id that describes what it does, and that id is treated as a contract.
with classic XML views that's a resource id. with Jetpack Compose there are no views in the same sense, so the usual equivalent is a testTag. if your team already writes Espresso or Compose UI tests, you probably have some of these. reuse them. an id says nothing about position, colour or wording, so a redesign leaves it alone, and anyone deleting it can see something depends on it.
// before: the guide found the toggle by position and text
// step anchor: home_layout > child[0] > child[2], text == "Go Online"
// after, classic views: one id, agreed with the ops team
// res/layout/home.xml
// <com.google.android.material.materialswitch.MaterialSwitch
// android:id="@+id/driver_go_online" ... />
// after, Compose: a testTag that means the same thing
Switch(
checked = online,
onCheckedChange = onToggle,
modifier = Modifier.testTag("driver_go_online"),
)the second version survives a new layout, a new colour, a Hindi build, and a move into a bottom sheet, as long as the guide knows which screen to look on. it only breaks if someone removes the toggle, and at that point the guide should break.
a few small rules make the convention stick. name ids after what the thing does (driver_go_online), not where it sits (top_right_switch). never reuse a generic id like button across screens. keep the list of ids that guides depend on somewhere engineers will see it, even a comment in the composable. if you want a longer look at the Compose side, we wrote it up in building a spotlight tour in Jetpack Compose.
find out before your drivers do
conventions drift. someone new joins the app team, a screen gets rebuilt in a hurry before a city launch, and a stable id disappears. so the other half of the fix is noticing quickly.
the low-tech version is putting your onboarding guides on the release checklist. before each rollout, someone installs the build and taps through every guide, in every language you ship. it's tedious and it works, as long as someone actually does it every time, which in a startup shipping weekly is roughly never after the third release.
the better version is making the software tell you. in heytappr, the voice guide we build for Android driver apps, if a release moves a button a guide depends on, heytappr flags the broken step. guides are edited from a dashboard and go live for the next driver without an app release, so the fix doesn't have to wait for the next Play Store build either. we built it that way because a broken onboarding step in a driver app stops new drivers before their first order, and nobody on the ops team sees it until the numbers drop.
whatever tool you use, ask its vendor one question before you sign: what happens when my team ships a release that moves a button? if the answer involves someone re-recording every step by hand, budget for that person's time, because you'll need it every sprint. and if the fix needs a new app build, remember how long drivers take to update.
a short checklist for the next sprint
- list the views your onboarding guides point at, from signup to the first order.
- give each one a stable resource id or
testTagnamed after what it does. - rewrite those steps to use the id and nothing else, no coordinates, list positions or text.
- check every guide in each language you ship and on at least one small screen.
- tell the app team, in writing, which ids the onboarding flow depends on.
- set up an alert, or at least a release checklist item, for broken steps after each rollout.
none of this takes long, and all of it compounds. a guide that survives ten releases is worth far more than a prettier one that breaks on the second, because the drivers it fails are the ones you paid to recruit.
see it in your product
fifteen minutes: heytappr answering a real question by walking a user through a real interface, out loud.
questions people ask
Why does our onboarding tour break after an app update?
Each step finds its target by some description of the view, like its position, its text or a path through the layout. When a release moves, wraps or relabels the view, that description stops matching and the step points at nothing.
What is the most reliable anchor for in-app guides on Android?
A stable resource id on classic views, or a testTag in Jetpack Compose, named after what the view does. It doesn't change with layout, styling or language, so it survives most releases.
Do language settings break onboarding overlays?
They do if any step matches on visible text. A step that looks for a button reading "Go Online" will fail for a driver using the Hindi version of the app. Anchor steps to ids instead.
How do I know when an in-app guide is broken?
Either tap through your key guides on every release build before rollout, or use a tool that tells you. heytappr flags the broken step when a release moves a button a guide depends on, and the fix goes live from the dashboard without an app release.
go deeper
keep reading
- how to write guide steps a new driver can follow by ear
- a spotlight tour in jetpack compose, on a driver signup screen
- how to stop the "how do i" calls from new drivers
- why new delivery drivers quit before their first order
- in-app guidance on android, for the apps drivers use
spotted something out of date? tell us and it gets fixed.