<commit_before><p align="center">
<a href="http://openshop.io/">
<img src="http://i.imgur.com/fLhSUr0.png?1"/>
</a>
</p>
  
**First mobile E-commerce solution connected to Facebook Ads and Google**
  <br/>

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](openshop.io)*

Do you want to see the app in action? 

<a href="http://itunes.apple.com/app/id1088689646">
<img src="http://s12.postimg.org/87quj2uop/Download_on_the_App_Store_Badge_US_UK_135x40.png"/>
</a>

# Features
* **Facebook Ads Integration** - The most advanced Facebook Ads Integration. Encourage purchases, target your mobile customers and measure conversions.
* **Google Analytics Integration** - Integration of Google Analytics can be sometimes tricky. With our solution you can't miss any conversion.
* **Unified & Powerful API** - Connecting your backend and data storages has never been easier. Our API is, thanks to Apiary, very well documented and available for testing.
* **Push Notifications** - Encourage your customers through absolutely powerful Push Notifications. So, your customers won't miss any sale or special offer.
* **Synchronized with your Web** - Synchronize abandoned shopping carts and user profiles from your website. So, your customers won't feel the difference if coming to website or mobile app.
* **Standardized XML Feeds** - We use support all advanced XML Feed features you know from other systems. So, you don't have to create another one and just connect the feed you already use.
* We also offer Deeplinks, Advanced measurement & analytics, and much more...

# 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](http://docs.bfeshopapiconnector.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](#contact-us).

![img](http://openshop.io/img/schema.png)

# Technical Intro
OpenShop.io uses CocoaPods as a dependency manager for OpenShop.io project. To run the project please follow these steps:

## Requirements
* iOS 8.0+
* Xcode 7.2+ for app development and distribution to Apple App Store

## Workspace Setup
Run these commands in Terminal or other command line tool to download and instal all the necessary tools for the app development and distribution:
```
[sudo] gem install bundler
xcode-select --install
```

To download the project, install dependencies specified in the `Podfile` and open the project workspace run these commands one after another:
```
git clone https://github.com/business-factory/openshop.io-ios.git
cd openshop.io-ios
bundle install
bundle exec fastlane build
```
This will build the project and create a new workspace file `OpenShop.xcworkspace` which includes all the CocoaPod dependencies. Make sure to open `OpenShop.xcworkspace` workspace file for app development and submission and ignore `OpenShop.xcodeproj`.

## Graphics template
[Here](link to psd) 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 [App Store](http://itunes.apple.com/app/id1088689646) 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](#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 editing a few files and running a command from Terminal and you are done.<commit_msg>PSD templates link fix<commit_after><p align="center">
<a href="http://openshop.io/">
<img src="http://i.imgur.com/fLhSUr0.png?1"/>
</a>
</p>
  
**First mobile E-commerce solution connected to Facebook Ads and Google**
  <br/>

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](openshop.io)*

Do you want to see the app in action? 

<a href="http://itunes.apple.com/app/id1088689646">
<img src="http://s12.postimg.org/87quj2uop/Download_on_the_App_Store_Badge_US_UK_135x40.png"/>
</a>

# Features
* **Facebook Ads Integration** - The most advanced Facebook Ads Integration. Encourage purchases, target your mobile customers and measure conversions.
* **Google Analytics Integration** - Integration of Google Analytics can be sometimes tricky. With our solution you can't miss any conversion.
* **Unified & Powerful API** - Connecting your backend and data storages has never been easier. Our API is, thanks to Apiary, very well documented and available for testing.
* **Push Notifications** - Encourage your customers through absolutely powerful Push Notifications. So, your customers won't miss any sale or special offer.
* **Synchronized with your Web** - Synchronize abandoned shopping carts and user profiles from your website. So, your customers won't feel the difference if coming to website or mobile app.
* **Standardized XML Feeds** - We use support all advanced XML Feed features you know from other systems. So, you don't have to create another one and just connect the feed you already use.
* We also offer Deeplinks, Advanced measurement & analytics, and much more...

# 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](http://docs.bfeshopapiconnector.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](#contact-us).

![img](http://openshop.io/img/schema.png)

# Technical Intro
OpenShop.io uses CocoaPods as a dependency manager for OpenShop.io project. To run the project please follow these steps:

## Requirements
* iOS 8.0+
* Xcode 7.2+ for app development and distribution to Apple App Store

## Workspace Setup
Run these commands in Terminal or other command line tool to download and instal all the necessary tools for the app development and distribution:
```
[sudo] gem install bundler
xcode-select --install
```

To download the project, install dependencies specified in the `Podfile` and open the project workspace run these commands one after another:
```
git clone https://github.com/business-factory/openshop.io-ios.git
cd openshop.io-ios
bundle install
bundle exec fastlane build
```
This will build the project and create a new workspace file `OpenShop.xcworkspace` which includes all the CocoaPod dependencies. Make sure to open `OpenShop.xcworkspace` workspace file for app development and submission and ignore `OpenShop.xcodeproj`.

## Graphics template
[Here](http://openshop.io/sources/openshop.io-ui_resources-ios.zip) 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 [App Store](http://itunes.apple.com/app/id1088689646) 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](#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 editing a few files and running a command from Terminal and you are done.
{'fraction_non_alphanumeric': 0.07074104140090456, 'fraction_numerical': 0.009045575785689436, 'mean_word_length': 4.745502998001332, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 20, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5054253', 'n_tokens_mistral': 2255, 'n_tokens_neox': 2134, 'n_words': 1162}