Giter VIP home page Giter VIP logo

shopapp-ios's Introduction

Build Status codecov

ShopApp for iOS

ShopApp connects with popular ecommerce platforms like Shopify, Magento, BigCommerce, and WooCommerce to transfer them into a mobile app for iOS and Android.


So far, we’ve developed a Shopify provider for iOS and Shopify provider for Android. Currently we’re working on adding more providers and extending the features list, so stay in touch with our updates.

Set up environment

To build and submit an application to the App Store, you're required to have XCode 9 installed. If it's not installed yet, follow the instructions from the official website https://developer.apple.com/xcode/ to install XCode 9.

To install the dependencies required for the application build, ShopApp uses CocoaPods. Connect one of the providers for an online store and install all the dependencies. Here we'll use Shopify as an example.

  1. Add the following line to the Podfile:

pod “ShopApp_Shopify”, “~> 1.0”

  1. Install all the dependencies:

pod install

  1. You'll also have to configure the provider to get an access to your online store. To get an access, follow the instructions on a provider's page .

Here's how to configure the Shopify provider. Add the following code:

container.register(Repository.self) { _ in
    return ShopifyRepository(apiKey: "API KEY",
        shopDomain: "SHOP DOMAIN",
        adminApiKey: "ADMIN API KEY",
        adminPassword: "ADMIN PASSWORD",
        applePayMerchantId: "APPLE PAY MERCHANT ID")
}

to the file ShopApp/Data/DI/DataAssembly.swift.

  1. As the result, you'll be able to open the project file and launch an app.

To create a client for another SaaS, you'll have to add the following pod: pod 'ShopApp_Gateway', '~> 1.0.1' to the dependencies.

  1. Next, you have to create the class that'll work with the main application and implement the Repository protocol in it.

After that, you can add a new client to the main ShopApp application

Requirements

  • iOS 10+
  • XCode 9 for app development and submission to Apple App Store
  • Cocoapods to install all the dependencies

License

The ShopApp Shopify for iOS provider is licensed under the Apache 2.0 license


RubyGarage Logo

RubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfuly employ other technologies to deliver the best results to our clients. Check out our portoflio for even more exciting works!

shopapp-ios's People

Contributors

antonoffevgeniy avatar radyslavkrechet avatar sparrow avatar

Stargazers

MohsinAli avatar

Watchers

MohsinAli avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.