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.
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.
- Add the following line to the Podfile:
pod "ShopApp_Shopify", "~> 1.0"
- Install all the dependencies:
pod install
- 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(API.self) { _ in
return ShopifyAPI(apiKey: "API KEY",
shopDomain: "SHOP DOMAIN",
adminApiKey: "ADMIN API KEY",
adminPassword: "ADMIN PASSWORD",
applePayMerchantId: "APPLE PAY MERCHANT ID")
}
.inObjectScope(.container)
to the file ShopApp/Data/DI/DataAssembly.swift.
- 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.5'
to the dependencies.
- 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
- iOS 10+
- XCode 9 for app development and submission to Apple App Store
- Cocoapods to install all the dependencies
The ShopApp for iOS is licensed under the Apache 2.0 license
RubyGarage is a leading software development and consulting company in Eastern Europe. Our main expertise includes Ruby and Ruby on Rails, but we successfully employ other technologies to deliver the best results to our clients. Check out our portfolio for even more exciting works!