Posted by Kseniia Shumelchyk – Developer Relations Engineer
With greater than 65 million world customers, AllTrails is likely one of the world’s hottest and trusted platforms for outside exploration. The app is designed to be the last word journey companion, so the AllTrails crew at all times works to enhance customers’ outside expertise utilizing the newest know-how. Just lately, its builders created a brand new Wear OS software. Now, customers can entry their favourite AllTrails options utilizing their favourite Android wearables.
Rising the AllTrails ecosystem
AllTrails has had an excessive amount of progress from its Android customers, and the app’s builders needed to satisfy the wants of this rising phase by delivering new methods to get outdoors. That meant creating an ecosystem of related experiences, and Put on OS was the right start line. The crew began by constructing important features for controlling the app, like pausing, resuming, and ending hikes, straight from wearables.
“We all know that the very last thing you need as you’re pulling into the trailhead is to fumble together with your telephone and search for the path, so we needed to carry the paths to your fingertips,” stated Sydney Cho, director of product administration at AllTrails. “There’s a lot cool stuff we wish to do with our Put on OS app, however we determined to begin by specializing in the basics.”
After implementing core controls, AllTrails builders added extra options to make the most of the watch display, like a round progress ring to indicate customers how far they’re on their present route. Implementing new consumer interfaces is environment friendly since Compose for Put on OS offers built-in Materials elements for builders, like a CircularProgressIndicator.
AllTrails’ cellular app warns customers once they begin to wander off-trail with wrong-turn alerts. AllTrails builders included these alerts into the brand new Put on OS app, so customers can get notified straight from their wrists and preserve their telephones of their pockets.
The brand new AllTrails Put on OS software has been tremendous in style amongst its consumer base, and the crew has acquired substantial optimistic suggestions on the brand new wearable expertise. AllTrails Put on OS app has had over 1 million downloads since implementing the Put on OS app.
Streamlined improvement with Compose for Put on OS
To construct the brand new wearable expertise, AllTrails builders used Jetpack Compose for Put on OS. The trendy declarative toolkit simplifies UI improvement by letting builders create reusable code blocks for primary features, permitting for quick and environment friendly wearable app improvement.
“Compose for Put on OS undoubtedly sped up improvement,” stated Sydney. “It additionally gave our dev crew publicity to the toolkit, which we’re clearly enormous followers of and use for almost all of our new improvement.”
This was the primary app AllTrails builders created totally utilizing Jetpack Compose, though they at the moment use it for elements of the cellular app. Even with their temporary expertise utilizing the toolkit, they knew it will enormously enhance improvement, so it was an apparent alternative for the Put on OS integration.
“Jetpack Compose allowed us to iterate far more shortly,” stated Sydney. “It’s extremely easy to create composables, and the simplicity of previewing the app in numerous states is extraordinarily useful.”
Connecting well being and health through Well being Join
AllTrails builders noticed one other alternative to enhance the consumer expertise whereas constructing the brand new Put on OS software by integrating Well being Join. Well being Join is one in every of Android’s newest API choices that provides customers a less complicated strategy to consolidate and share their well being and health knowledge throughout functions.
When customers opt-in for Well being Join, they’ll share their numerous well being and health knowledge between functions, giving them a extra complete understanding of their exercise whatever the apps monitoring it.
“Well being Join permits our customers to sync their AllTrails exercise recordings, like climbing, biking, working, and so forth, immediately on their telephone,” stated Sydney. “This exercise can then be considered inside Well being Join or from different apps, giving customers extra freedom to see all their bodily exercise knowledge, no matter which app it was recorded on.”
Well being Join streamlines well being knowledge administration utilizing easy APIs and an easy knowledge mannequin. It acts as a centralized repository, consolidating well being and health knowledge from numerous apps, just by having every app write its knowledge to Well being Join. Which means that even partial adoption of the API can yield advantages.
AllTrails builders loved how straightforward it was to combine Well being Join, due to its easy and well-documented APIs that had been “quite simple however extraordinarily highly effective.”
What’s forward with Put on OS
Implementing a brand new Put on OS software did greater than give AllTrails’ customers a brand new strategy to work together with the app. It lets them put their telephones again of their pockets to allow them to take pleasure in extra of what’s on the path. By prioritizing core functionalities like close by path entry, recording management, and real-time alerts, AllTrails delivered a seamless and intuitive wearable expertise, enriching UX with spectacular consumer adoption and retention charges.
Get began
Be taught extra about constructing wearable apps with design and developer steering for Wear OS.