OkayNFC is available through CocoaPods. To install it, add the following to your app target in your podfile:
use_frameworks!
pod 'OkayNFC'
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == "CryptoSwift"
puts "Enable module stability for CryptoSwift"
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
end
end
Permission
1.Add NFC capability to the project
2. In info.plist, add the keys as the image attached below.
Please follow the version accordingly to the documentation above.