Git Product home page Git Product logo

shopapp-shopify-android's Introduction

Build Status codecov

Shopify Provider for ShopApp Android

Shopify provider for ShopApp Android. ShopApp is an application that turns a Shopify-based store into a mobile app. ShopApp syncs with Shopify store and transfers a product catalog and user data to a mobile app. The app provides features like customizable push notifications, promo codes, and convenient payments with popular digital wallets like Android Pay.

Installation

Connect the library

To use the ShopApp provider for Shopify, connect the library to the main application with Gradle:

implementation "com.github.rubygarage:shopapp-shopify-android:1.0.4" 

Change the ShopApplication file

Next, change the app/src/main/java/com/shopapp/ShopApplication.kt file by adding the following code:

//Initialize your api here.
val api = ShopifyApi(this, "SHOP DOMAIN", "API KEY", "ADMIN API KEY", "ADMIN API PASSWORD")
appComponent = buildAppComponent(api, dao) 

Where: SHOP DOMAIN - is the main domain of your store. You can find it your store's domain by visiting the admin panel on a Home tab. There you can find the following message - Your current domain is xxx.myshopify.com

API KEY is used to receive your store's data like items and collections. To receive the key, you have to visit the admin panel and proceed to Apps - Manage Private Apps. Create a new application if you don't have one by copying Storefront API and adding it to your library's configuration

ADMIN API KEY is a key for Admin API. The library uses the key to receive a list of countries eligible to shipping.

ADMIN PASSWORD is a password for Admin API.

Requirements

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

License

The ShopApp Shopify for Android 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 successfully employ other technologies to deliver the best results to our clients. Check out our portfolio for even more exciting works!

shopapp-shopify-android's People

Contributors

denyszp avatar sparrow avatar starykovskyi avatar starikovskii 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.