Posted by Kseniia Shumelchyk – Developer Relations Engineer
With greater than 65 million world customers, AllTrails is among the world’s hottest and trusted platforms for outside exploration. The app is designed to be the last word journey companion, so the AllTrails staff at all times works to enhance customers’ outside expertise utilizing the newest expertise. Not too long ago, its builders created a brand new Put on OS software. Now, customers can entry their favourite AllTrails options utilizing their favourite Android wearables.
Rising the AllTrails ecosystem
AllTrails has had quite a lot of development from its Android customers, and the app’s builders needed to fulfill the wants of this rising phase by delivering new methods to get exterior. That meant creating an ecosystem of linked experiences, and Put on OS was the right place to begin. The staff 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 telephone and search for the path, so we needed to convey the paths to your fingertips,” mentioned 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 start out by specializing in the basics.”
After implementing core controls, AllTrails builders added extra options to benefit from the watch display, like a round progress ring to indicate customers how far they’re on their present route. Implementing new person interfaces is environment friendly since Compose for Put on OS supplies built-in Materials elements for builders, like a CircularProgressIndicator.
AllTrails’ cell app warns customers once they begin to wander off-trail with wrong-turn alerts. AllTrails builders integrated these alerts into the brand new Put on OS app, so customers can get notified straight from their wrists and hold their telephones of their pockets.
The brand new AllTrails Put on OS software has been tremendous fashionable amongst its person base, and the staff 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 growth with Compose for Put on OS
To construct the brand new wearable expertise, AllTrails builders used Jetpack Compose for Put on OS. The fashionable 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 staff 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 completely utilizing Jetpack Compose, although they presently use it for components of the cell app. Even with their transient expertise utilizing the toolkit, they knew it will significantly enhance growth, so it was an apparent selection for the Put on OS integration.
“Jetpack Compose allowed us to iterate way more shortly,” mentioned 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 person 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 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 numerous 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 mountaineering, biking, operating, and so forth, immediately on their telephone,” mentioned 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 simple it was to combine Well being Join, due to its simple 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 technique to work together with the app. It lets them put their telephones again of their pockets to allow them to get pleasure from 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 person adoption and retention charges.
Get began
Be taught extra about constructing wearable apps with design and developer steering for Put on OS.