Skip to content

cozyglow/cozy-glow-store-ios

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Buy SDK

Test GitHub license

Storefront App

The sample application demonstrates how to build a custom storefront on iOS using Shopify's mobile buy SDK. Using this sample application, a user can browse your shop's products and collections, add merchandise to a cart, and then checkout using Apple Pay or a web checkout.

Note: This sample application is not actively being maintained. Hence, the version of SDK being used may not be the recent version.

Setup

The sample application is pre-configured with credentials to a test shop and requires no setup to build and run. You can also run the sample application with your own shop by following the steps below:

  1. Ensure that all submodules of Buy SDK have also been updated by running:
git submodule update --init --recursive
  1. Make sure that you have the Mobile App channel installed in your Shopify admin.
  2. From your Shopify admin, navigate to the Mobile App channel, and then copy your API key.
  3. Open the Sample Application project in Storefront.xcodeproj
  4. Open Client.swift, and then insert your API key and shop domain:
final class Client {

    static let shopDomain = "yourshophere.myshopify.com"
    static let apiKey     = "2dce9587e0f140ac84aaec25847e9d35"
    ...
}

License

The Mobile Buy SDK is provided under an MIT License. See the LICENSE file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Swift 100.0%