To use Trikot.bluetooth
with iOS, you must export bluetooth
module in your exported framework. See Trikot.patron build.gradle file for a sample use case.
ENV['TRIKOT_FRAMEWORK_NAME']='ReplaceMeByTheFrameworkNameImportedByCocoaPods'
pod 'Trikot/bluetooth', :git => 'https://github.com/mirego/trikot.git', :tag => properties['trikot_version']
Then, run pod install
.
import Trikot
// in application didFinishLaunchingWithOptions
BluetoothConfiguration().bluetoothManager = TrikotBluetoothManager()