openshopio / openshop.io-android

OpenShop.io
http://openshop.io
MIT License
503 stars 350 forks source link

First mobile E-commerce solution connected to Facebook Ads and Google

We as a Facebook Marketing Partner company have experienced neverending struggles with Facebook and Google integration on side of our partners. It usually took weeks or months to implement all neccessary SDKs, features, measurements and events. That's the reason why we have decided to provide an open-source solution bringing marketing on the first place. Our mission is to fulfill all potential of Facebook Ads, Google Analytics and other marketing channels for an extraordinary mobile shopping experience.

Visit out website on openshop.io

Do you want to see the app in action?

google play badge

Features

How to connect

We are trying to minimize the effort necessary to ship your ecommerce mobile solution. The first step for a successful integration is connection between your data source and our server. There is prepared a standardized apiary.io documentation which will tell you how to output your XML feed to be compatible with the data the app is expecting. For more information on how to connect to our server please contact us.

img

Technical Intro

OpenShop.io uses Gradle as a dependency manager for OpenShop.io Android project. To run the project please follow these steps:

Requirements

Graphics template

Here you will find the PSD template which served as the guideline for implementing user interface in the OpenShop app.

Run the app

The example OpenShop.io application you can download from this repository or Google Play runs on our custom sample data source (product, payments, shipping, branches,...). If you want to integrate your feed within the app take a look at the section how to connect.

Release the app with minimal effort

Do you want to release the app like 1, 2, 3, BLAST OFF!? It is as easy as creaing a few web services and editing a few files and you are done.

  1. Rename the project. Especialy a package name in Manifest and Build files.
  2. Put your Organization id into the ORGANIZATION_ID variable inside the "CONST.java" file. You will receive the Organization id after a successfull connection, take a look at the section how to connect. ORGANIZATION_ID
  3. Update UI
    • colors - currently defined in the "colors.xml" file under resources folder.
    • logos, icons - you will find all the image resources beneath the "drawable" in the resources folder. Replace all the OpenShop logos and images with your custom ones.
    • banners - upload custom banners which appear on the title page through the administration - sales, new collections.
  4. Create Facebook application (skip this if you already have one) - Facebook tutorial Facebook application settings
  5. Connect Facebook application and the OpenShop project - enter Facebook application ID on these places:
    • facebook_app_id inside the "strings.xml" file: facebook_app_id
    • administration on our server
  6. Validate FB configuration: Thanks to the Facebook App Ads Helper you will be able to determine if all of the parts of the configuration were successful.
  7. At the Google Developers Console create corresponding application. Also enable Google Cloud Messaging API and Google Maps Android API under the "API Manager -> Overview" section. For GCM integration follow the tutorial.
  8. Under the "API Manager -> Credentials" section create a Server type and a Android type credentials. The Server type credential enter to the administration on our server. It is needed for Google Cloud Messaging (GCM), which provides you a feature to inform the customers about the newest collections and sales. The Android type credential enter to the android_key property inside the "strings.xml" file: android_key
  9. Finally in the Android Studio generate a signed apk.
  10. Create new application in Google Play Developer Console. Upload the signed apk into the created application. Add a title, description, screenshots, publish it and you are DONE.

Nice-to-have features

Implementing these features will significantly help you with getting to know the users, collecting the data about the app usage or remarketing but they aren't crutial for running the app.

Development

The application is written with the help of widespread libraries, so the source code should be easy to read. If you wish to make more significant changes and better understanding what's going on we are providing in-depth comments inside the code.

Don't you have your mobile development team? We totally understand that pain, when your IT department is super busy or you don't have your own in-house mobile development team. We will connect you with one of our integration partners to build the app for you. Just contact us.

TODO

Contribution

Feel free to build your own mobile ecommerce solution on top of OpenShop.io. Send us the name of the application on help@openshop.io to get $500 advertisement credit on Facebook for free from Business Factory - one of the 50 official Facebook Marketing Partners worldwide.

Contact us

Do you have any troubles or issue to report? Do you like OpenShop.io project and want to be part of it? Great! Contact us on help@openshop.io or here on GitHub.

Licence