SLYJPaySDK
Example
To run the example project, clone the repo, and run pod install from the Example directory first.
Requirements
Installation
SLYJPaySDK is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'SLYJPaySDK'Author
yelon21, [email protected]
License
SLYJPaySDK is available under the MIT license. See the LICENSE file for more info.
##SDK接入 使用pod库安装:
在Podfile文件中加入pod 'SLYJPaySDK', '~> 2.2.2'并执行pod install,如果版本不存在,需要执行pod repo update进行更新本地repo库后重试。
同时需要在info.plist文件中加入以下key用户获取相应权限:
- 添加
NSLocationWhenInUseUsageDescription,用于sdk获取定位信息 - 在
UISupportedInterfaceOrientations下添加UIInterfaceOrientationLandscapeLeft,用于允许界面横屏(电子签名页面) - 添加
NSBluetoothPeripheralUsageDescription用于通过蓝牙与MPOS通讯
##1. 说明
用户使用此SDK前需要先提供其App的包名bundleId到后台备案,备案后下发appKey给用户用于后续操作。
Xcode配置:在使用target的Build Settings标签下的Other Linker Flags选项里面添加-ObjC。
注:此SDK仅支持真机运行,不支持模拟器运行。 支持iOS8.0或更高版本。