Posted by Kseniia Shumelchyk – Developer Relations Engineer
With greater than 65 million international customers, AllTrails is among the world’s hottest and trusted platforms for outside exploration. The app is designed to be the final word journey companion, so the AllTrails workforce at all times works to enhance customers’ outside expertise utilizing the most recent know-how. Not too long ago, its builders created a brand new Put on OS utility. Now, customers can entry their favourite AllTrails options utilizing their favourite Android wearables.
Rising the AllTrails ecosystem
AllTrails has had quite a lot of progress from its Android customers, and the app’s builders wished to satisfy the wants of this rising section 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 workforce began by constructing important capabilities 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 along with your cellphone and search for the path, so we wished to deliver the paths to your fingertips,” mentioned Sydney Cho, director of product administration at AllTrails. “There’s a lot cool stuff we need to do with our Put on OS app, however we determined to start out 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 point out customers how far they’re on their present route. Implementing new consumer interfaces is environment friendly since Compose for Put on OS supplies built-in Materials parts 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 utility has been tremendous widespread amongst its consumer base, and the workforce has acquired substantial constructive 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 growth 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 growth by letting builders create reusable code blocks for primary capabilities, permitting for quick and environment friendly wearable app growth.
“Compose for Put on OS undoubtedly sped up growth,” mentioned Sydney. “It additionally gave our dev workforce publicity to the toolkit, which we’re clearly enormous followers of and use for almost all of our new growth.”
This was the primary app AllTrails builders created fully utilizing Jetpack Compose, though they presently use it for elements of the cellular app. Even with their temporary expertise utilizing the toolkit, they knew it could significantly enhance growth, so it was an apparent selection for the Put on OS integration.
“Jetpack Compose allowed us to iterate rather more rapidly,” mentioned Sydney. “It’s extremely easy to create composables, and the simplicity of previewing the app in varied states is extraordinarily useful.”
Connecting well being and health by way of Well being Join
AllTrails builders noticed one other alternative to enhance the consumer expertise whereas constructing the brand new Put on OS utility by integrating Well being Join. Well being Join is certainly one of Android’s newest API choices that offers customers a less complicated technique to consolidate and share their well being and health knowledge throughout purposes.
When customers opt-in for Well being Join, they will share their varied well being and health knowledge between purposes, 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 mountain climbing, biking, working, and so forth, immediately on their cellphone,” mentioned Sydney. “This exercise can then be seen 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 a simple knowledge mannequin. It acts as a centralized repository, consolidating well being and health knowledge from varied apps, just by having every app write its knowledge to Well being Join. Which means even partial adoption of the API can yield advantages.
AllTrails builders loved how simple it was to combine Well being Join, because of its simple and well-documented APIs that have been “quite simple however extraordinarily highly effective.”
What’s forward with Put on OS
Implementing a brand new Put on OS utility did greater than give AllTrails’ customers a brand new technique 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 Put on OS.