An open API service indexing awesome lists of open source software.

https://github.com/payneteasy/readerexampleswift

Example mPOS ios application for Miura (Shuttle, M010) and Spire (spm2, spm20)
https://github.com/payneteasy/readerexampleswift

Last synced: 8 months ago
JSON representation

Example mPOS ios application for Miura (Shuttle, M010) and Spire (spm2, spm20)

Awesome Lists containing this project

README

          

# Example of using PaynetEasyReader library to integrate Miura or Spire mPOS

[![Build Status](https://travis-ci.org/payneteasy/ReaderExampleSwift.svg?branch=master)](https://travis-ci.org/payneteasy/ReaderExampleSwift)

## How to build this project

#### Set up the project dependencies

```
pod install
```

#### Open workspace

open ReaderExampleSwift.xcworkspace

## How to integrate the SDK to your swift project

* Create `Podfile` and add *PaynetEasyReader* podspec to it
* Run `pod install`
* Run `open your-project.xcworkspace`
* Add *Bridging-Header.h* file to your project

```obj-c
#ifndef Bridging_Header_h
#define Bridging_Header_h

#import
#import
#import
#import
#import
#import
#import
#import
#import
#import
#import

#endif /* Bridging_Header_h */
```

* Drug the *Bridging-Header.h* file to *Build Settings / Objective-C Bridging Header*
* Add to your *-Info.plist
```xml
UISupportedExternalAccessoryProtocols

com.miura.shuttle
com.thyron

```