Giter Site home page Giter Site logo

clinzstephen / shopapp-android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rubygarage/shopapp-android

0.0 1.0 0.0 4.85 MB

ShopApp is an application that transfers an online store into a mobile app

License: Apache License 2.0

Kotlin 99.86% HTML 0.14%

shopapp-android's Introduction

Build Status codecov

ShopApp for Android

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 Android and Shopify provider for iOS. Currently we’re working on adding more providers and extending the features list, so stay in touch with our updates.

Installation

To install the dependencies required for an application build, ShopApp uses Gradle. Connect one of the providers for an online store and install all the dependencies. As an example, let's use Shopify.

  1. Add the following line to app/build.gradle:
implementation "com.github.rubygarage:shopapp-shopify-android:1.0.4"

Also, you'll have to configure the provider to get an access to your online store. To configure the provider, follow the instructions on a provider's page . For a Shopify provider, the flow is following:

  1. Add the following code:
val api = ShopifyApi(this, "BASE DOMAIN", "STOREFRONT ACCESS TOKEN", "API KEY", "API PASSWORD") //Initialize your api here. 
appComponent = buildAppComponent(api, dao)

to the file app/src/main/java/com/shopapp/ShopApplication.kt.

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

Check out how to configure the Shopify provider.

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

To create a client for another SaaS provider, you have to add the following dependency to the dependencies:

implementation 'com.github.rubygarage:shopapp-android:1.0.5'
  1. Next, create a class that'll interact with the main application and implement the API interface.

  2. After that you'll be able to add a new client to the main application:

Requirements

  • Android 4.4 (API 19) - a minimum supported version
  • Android Studio for application build
  • Gradle to install all the dependencies

License

The ShopApp for Android 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-android's People

Contributors

denyszp avatar starykovskyi avatar starikovskii avatar sparrow avatar

Watchers

James Cloos 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.