veilid/veilid-flutter/ios/Classes/SwiftVeilidPlugin.swift

15 lines
375 B
Swift
Raw Normal View History

2022-01-16 16:19:01 +00:00
import Flutter
import UIKit
public class SwiftVeilidPlugin: NSObject, FlutterPlugin {
public static func register(with registrar: FlutterPluginRegistrar) {
// No channel, FFI plugin
print("dummy_value=\(dummy_method_to_enforce_bundling())");
2022-01-16 16:19:01 +00:00
}
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
// Noop
result(nil)
2022-01-16 16:19:01 +00:00
}
}