Headless Ecommerce

How to Build a Mobile App for a Headless Shopify Store

13 min read
Table of contents

A headless setup lets you build your store exactly the way you wanted it. Shopify runs the products, cart and checkout in the background, and your own front end decides everything your customers see.

With that setup, a mobile app looks like it should fit in easily. Shopify’s APIs serve an app the same way they serve your website, so on paper, an app is just one more front end on the backend you already run.

In practice, though, an app built on those APIs is a second version of your store. Your team rebuilds every screen and integration in a mobile framework, then keeps the app running and in step with your website.

That rebuild could cost six figures or more, and take most of a year before the app earns anything. Once the app is live, you also have twice as much code that can break.

But you can get a custom native app without building a second version of your store.

This guide explains how mobile apps work with headless Shopify, what goes into a custom React Native, Flutter or native build and how long that build takes to pay for itself. You’ll also see what can go wrong with a custom codebase, and how to launch an app on the front end you already have.

What Is a Headless Shopify Store?

A headless Shopify store uses Shopify as the commerce backend and a separate, custom-built front end for everything customers see. Shopify still manages products, inventory, customers, the cart and checkout.

Your developers build the front end with Hydrogen, Shopify’s headless toolkit, or a framework like Next.js. You can host the front end on Oxygen, Shopify’s own hosting, or anywhere else you choose.

The two halves talk to each other through Shopify’s APIs. According to Shopify’s headless documentation, the Storefront API serves products, collections, search and the cart, then hands shoppers off to checkout. The Customer Account API handles sign-in, orders, addresses and profiles.

Brands go headless for control. Without a theme setting the limits, your team can build any layout, page or feature, and pull in content from wherever it lives. That control is also what makes an app for a headless store harder than it looks.

Your Shopify Backend Is Not Your Complete Storefront

On a headless store, Shopify is only one part of what customers see. Much of the experience comes from your front end and the other services it connects to:

  • Custom layouts, navigation and product pages
  • Content from a headless CMS, such as Contentful or Sanity
  • Search and filtering from a dedicated search provider
  • Reviews, loyalty and subscriptions from their own apps and APIs
  • Custom logic for bundles, pricing or personalization
  • Settings for each market, currency and language

All of that lives in your front end, not in Shopify. So an app that only talks to Shopify’s APIs starts without any of it.

How Does a Mobile App Work With Headless Shopify Stores?

A mobile app works with a headless Shopify store as one more front end on the same backend. It asks Shopify’s APIs for the same products, carts and customer accounts your website uses, and shows them in its own screens.

Shopify even counts mobile apps among the headless storefronts you host yourself. Shopify’s mobile documentation shows developers how to build a cart with the Storefront API and how to present Shopify checkout inside an iOS, Android or React Native app.

But the website and the app share one backend and nothing else. In the diagram below, Shopify serves both front ends, while you build and maintain each one separately.

Diagram of a headless Shopify store with a custom app: a website built with Hydrogen, Next.js or another web framework and a custom app built again in React Native, Flutter or Swift and Kotlin, each with its own page layouts, navigation, CMS content, search, loyalty, reviews and checkout, both connected to one Shopify backend that serves products, inventory, customers, cart and checkout through Shopify's APIs

Your website’s layouts, navigation, product pages and integrations all live in your web front end’s code, and a custom app can’t use any of that code. So you build every screen again for the app, along with every connection to your CMS, search, reviews, loyalty or subscription tools.

Shopify app builders leave out your custom front end too. A builder connects to your Shopify backend through the same APIs, then makes the app’s screens from its own templates instead of the front end you went headless to build.

Building a Custom Native App for a Headless Shopify Store

You can build a custom native app for a headless Shopify store, with complete control over every screen. Your developers build the app in a mobile framework and connect it to Shopify’s Storefront API, Customer Account API and checkout.

The first choice is how to write the app. Three approaches are common, and the right one depends on your team’s skills and what the app needs to do:

ApproachWhat your team writesBest suited to
React NativeJavaScript or TypeScript with React, in one codebase for iOS and AndroidTeams that already build their web front end in React
FlutterDart, in one codebase for iOS and AndroidTeams that want one codebase and full control of every pixel
Swift and KotlinSwift for iOS and Kotlin for Android, in two codebasesApps that need the deepest access to each platform

React Native is the natural fit for most headless teams, because most Hydrogen and Next.js storefronts use React.

Your web components still won’t work in the app, though, because React Native renders native views instead of web pages. Every web component needs a new version for mobile.

Checkout takes less work, because Shopify supplies it through Checkout Kit, an open-source SDK for Swift, Android and React Native that shows your Shopify checkout inside the app. Shopify then processes the payment and creates the order.

Shopify’s developer documentation shows the setup, with the same checkout code in Swift, Kotlin and React Native.

Shopify's developer documentation page Embed Checkout Kit, describing an open-source SDK for Swift, Android and React Native that embeds Shopify checkout inside a mobile app, with a quick start code sample and tabs for Swift, Kotlin and React Native

What It Takes to Build a Custom Headless App

Picking an approach and adding Checkout Kit are only the start, though. For a custom app, you rebuild your shopping experience for mobile, piece by piece:

  • Home, collection, product and search screens, designed for iOS and Android
  • Cart, customer accounts and checkout, connected to Shopify’s APIs and Checkout Kit
  • Content from your CMS, pulled in through its API
  • Search, reviews, loyalty and subscriptions, through each provider’s mobile SDK or API
  • Push notifications, deep links and analytics
  • App Store and Google Play submission, then a new release for every change

The work doesn’t stop at launch. From then on, your team builds every new page, campaign layout and feature twice, once for the website and once for the app. And when time is short, the app is usually the version that waits, which is how so many custom apps fall behind their websites.

The ROI and Payback Period of a Custom App

A custom app’s return depends on what it costs and how soon it starts earning. A custom build works against you on both counts: it’s expensive, and it earns nothing until launch.

For an established brand, a custom ecommerce app typically costs $150,000 to $1M+ to build. The build is slow, too: according to app developer Cubix, apps with deep integrations often take nine to 12 months or longer.

After launch, you keep paying for bug fixes, new features and the yearly iOS and Android updates for as long as the app is live.

Still, the revenue case for an app is strong. Across the brands and studies in our Ecommerce Mobile App Benchmark Report, app users convert 1.7 to 3 times as often as mobile web visitors. They also bring in 3.5 to 7 times as much revenue per user.

So the real question is how long that extra revenue takes to cover a custom build, and what you miss out on while you wait for launch.

How Long Does a Custom App Take to Pay for Itself?

Take a fashion brand with 250,000 website visits a month, a 1.5% conversion rate and a $115 average order. The brand makes about $5.2 million a year in online sales.

For that brand, our ecommerce app revenue calculator estimates that an app would bring in about $478,000 a year in a conservative case, and about $1.26 million in a strong one.

To find the new profit, assume half of the app’s revenue would have come through the website anyway, and that the brand makes a 50% gross margin.

On those assumptions, the app adds about $10,000 a month in new gross profit in the conservative case. In the strong case, it adds about $26,000 a month.

The table below shows how long that profit takes to cover a custom build, counting from launch day:

Build costConservative caseStrong case
$150,00015 months6 months
$500,000About 4 years19 months

The table leaves out maintenance and updates, which would make every payback period longer.

Those payback periods only start once the app is live, though. Add a nine-month build, and even a $150,000 app in the strong case takes more than a year to pay for itself.

In the conservative case, the same app takes two years, even before you pay for maintenance.

Time to market has a price too, because every month without the app is a month of new gross profit you don’t earn. So in the conservative case, a nine-month build costs you about $90,000 of new gross profit.

Learn more about estimating the ROI of an ecommerce app

The Risk of a Messy, Buggy Codebase

The price and the wait aren’t the only problems with a custom build. A custom app also adds a second codebase to your business, and every line of that code has to keep working as phones, app stores and APIs change.

When the code gets messy, the app gets slower to change, more likely to break and harder to fix. Two kinds of work keep that code changing: the updates every app needs and the fixes for bugs that come up after launch.

Why a Custom App Needs Constant Updates

A custom app needs updates even when you add no new features, because the platforms under it keep changing:

  • Apple raises its minimum build requirements every year. Since April 2026, App Store Connect only accepts apps built with Xcode 26 or later, using the iOS 26 SDK.
  • Google Play sets a target Android version for every update. From August 31, 2026, new apps and app updates must target Android 16.
  • Shopify releases a new API version every three months and supports each one for at least 12 months. If an app targets a retired version, Shopify answers with the oldest version it still supports, which may not work the way the app expects.
  • React Native, Flutter and every SDK inside the app, from push notifications to reviews, ship their own updates and retire old versions.

Each of these changes needs a developer who knows the app’s code. If you skip those updates, you can’t ship new versions to the App Store, and Google Play stops offering the app to new customers on newer Android phones.

What Happens When a Custom App Breaks?

Bugs in a native app also take longer to fix than bugs on a website. A website fix reaches every customer as soon as you deploy it, but most fixes to a native app ship as a new version, through App Store and Google Play review.

Even after release, the fix only reaches customers once their app updates. Until then, a crash on launch or a broken checkout takes the app down for your most loyal, highest-spending customers.

A messy codebase makes all of these problems worse, because each rushed fix makes the next change slower and riskier. Releases fall further behind the website, and the developers who know the code get harder to replace.

Junior Couture, a luxury childrenswear brand on Salesforce Commerce Cloud, once had a custom app that was a separate platform from its website. The team had to make every content update, feature and navigation change twice, and the app still fell behind the website in both features and performance.

When the code gets bad enough, a rebuild can look cheaper than a fix. Then you pay for the same app twice.

How Does MobiLoud Build an App for Headless Shopify Stores?

MobiLoud’s approach is headless too, but you don’t build a second front end. Shopify stays your backend, and we build your custom native app on the headless front end your team already runs.

Our team then designs the app’s native side, with its own navigation, tab bar and home screen, and adds push notifications and pages just for app users.

Your CMS content, search, reviews, loyalty and checkout work in the app from day one, because they’re already part of your front end.

Next to a custom app, the setup is simpler: your website and your app share one front end.

Diagram of a headless Shopify store with a MobiLoud app: one Shopify backend serving one headless front end, built once by your team with Hydrogen, Next.js or another framework, which powers both your website in the browser and your iOS and Android app with native navigation, push notifications and pages just for app users

With MobiLoud, most brands go live in a few weeks, so their apps start earning months sooner than a custom build would. Plans start at $639 a month on a 12-month term.

For the fashion brand above, the Business plan costs $1,199 a month on a 12-month term, or about $14,400 a year. Even in the calculator’s conservative case, the app’s new gross profit each month covers the monthly fee about eight times over.

A single front end also leaves less to go wrong. Your team keeps shipping to one front end, so each new page or fix reaches your website and your app together, and there’s no second codebase to maintain.

Our team builds, publishes and maintains your app, including the yearly iOS and Android updates and app store policy changes, so your developers stay on the front end they already know.

GSF Car Parts shows the same approach on a different backend. One of the UK’s largest car parts distributors, it runs a headless front end on Magento rather than Shopify. GSF was looking at around £500,000 for a custom native build, plus an in-house team to manage the app.

Instead, its MobiLoud app went live in under three months and reached 19,000 downloads in its first 30 days. The app adds a native tab bar to GSF’s registration lookup, shop categories and product pages.

Three iPhones showing the GSF Car Parts app: a home screen with a number plate lookup and a parts offer, a Shop menu of car parts categories and a product page for a battery charger with an Add to Basket button, each above a tab bar for Home, Shop, Deals, Account and Settings
"The way that it functions and works, it seems like a bespoke build that you don't have to worry about updating."
Chris Barella, Digital Director, GSF Car Parts

Final Thoughts

You went headless so a theme wouldn’t decide what your store could do. By the same logic, your app shouldn’t need a second front end, a six-figure build and another codebase to maintain.

A custom React Native, Flutter or native app still makes sense when the app needs features your website doesn’t have, like offline mode or AR, and you have the budget and a mobile team to support it for years. For most headless brands, though, the app’s job is to give their best customers a faster way back to the store they’ve built, with push notifications and features only an app can offer.

That’s where building on the front end you already run pays off. With MobiLoud, your app goes live in weeks, can pay for itself within months and leaves your team with one front end to maintain.

Andrew Buck

Andrew Buck

Head of Content

Andrew has a decade of experience creating digitally-native content, and currently runs all content operations for MobiLoud. He has written extensively on topics related to Shopify, Amazon, ecommerce and digital marketing, drawing on real-world experience in high-traffic retail and customer service. He has worked in and written about various industries, including ecommerce SaaS and high-ticket consumer brands, and has created content that has been referenced in thousands of publications, including Forbes, the New York Times, and many more leading publishers.

Frequently asked questions

Can you build a mobile app with Shopify Hydrogen? +

Shopify Hydrogen doesn't give you an iOS or Android app on its own, because it's a toolkit for building headless web storefronts. For a Hydrogen store, you can build a custom app that connects to Shopify's Storefront API. Or you can have MobiLoud build a custom native app on your Hydrogen front end.

Can a Shopify app builder work with a headless store? +

A Shopify app builder can connect to a headless store's backend, because it reads products, collections and carts through Shopify's APIs. The builder makes the app's screens from its own templates, though, so your app doesn't get the layouts, content and custom features of your headless front end. You also have to repeat every change to your website in the app.

How much does a mobile app for a headless Shopify store cost? +

For an established brand, a custom mobile app for a headless Shopify store typically costs $150,000 to $1M+ to build. You also pay for maintenance and updates every year after launch. MobiLoud builds a custom native app on your existing headless front end from $639 a month on a 12-month term. That price includes the build, publishing and maintenance.

How long does it take to launch a headless Shopify mobile app? +

A custom headless Shopify app with deep integrations often takes nine to 12 months or longer to build. MobiLoud apps typically launch in 2 to 4 weeks, because we build them on your existing front end instead of starting from scratch.

Does a headless Shopify mobile app need its own backend? +

A headless Shopify mobile app doesn't need its own backend. Shopify serves products, carts, customer accounts and checkout to the app the same way it serves them to your website. A custom app does need its own front end, though, and most of the app's cost and maintenance come from that front end.

How does checkout work in a headless Shopify app? +

Checkout in a custom headless Shopify app usually runs through Checkout Kit, Shopify's open-source SDK for Swift, Android and React Native. Checkout Kit shows your store's Shopify checkout inside the app. Shopify then processes the payment, applies tax rules and creates the order.