AtomeMerchantDemo-iOS
Atome Merchant iOS Demo
Integration
CocoaPods (iOS 10+)
You can use CocoaPods to install AtomeSDK
by adding it to your Podfile
:
platform :ios, '10.0'
use_frameworks!
target 'YourApp' do
pod 'AtomeSDK'
end
add Key:"Localization native development region" to your info.plist, type is "Array",add a string value "apaylater"
Usage
AtomeManager.shared().handPaymentURL(url)
if AtomeManager.shared().isAtomeInstalled() {
debugPrint("Atome already installed")
} else {
debugPrint("Atome not installed, please go to download")
}
Note
if your project is written by Objective-C, please create Bridging-Header.h