An iOS SDK for building custom Shopify storefronts in mobile apps using GraphQL.
Shopify's Mobile Buy SDK for iOS is a client library that allows developers to embed Shopify storefront functionality into native iOS applications. It connects to the Shopify platform via the Storefront GraphQL API, enabling features like product browsing, cart management, and customer authentication without requiring a web view. The SDK handles network requests, query generation, and response parsing, providing a type-safe Swift interface.
iOS developers building custom e-commerce applications for Shopify merchants who want a native shopping experience instead of a web-based storefront.
Developers choose this SDK for its seamless integration with Shopify's GraphQL API, compile-time safety via generated Swift models, and the flexibility to create fully custom UI while offloading complex e-commerce logic to a robust backend.
Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Generates Swift classes from the GraphQL schema automatically, providing compile-time validation and eliminating error-prone raw queries, as shown in the query building examples.
Includes configurable cache policies (e.g., cache-first, network-first) and built-in retry logic via RetryHandler, optimizing performance for unreliable networks.
Enables fully custom UI for browsing, carts, and checkout without web views, leveraging Shopify's Storefront API for tailored shopping experiences.
Provides mutations for customer login, token management, and error handling, with recommendations for secure storage using Keychain.
Requires running a custom Ruby script to regenerate Swift classes whenever the GraphQL schema updates, adding complexity to the build and deployment process.
Uses a CalVer versioning scheme where minor releases may include breaking GraphQL schema changes, as admitted in the README, potentially disrupting app updates.
Tightly coupled with Shopify's Storefront API, making it unsuitable for apps targeting multiple e-commerce platforms or non-Shopify stores, limiting versatility.