cake_wallet/cw_zano/ios/Classes/SwiftCwHavenPlugin.swift
2023-10-02 14:17:35 +00:00

14 lines
504 B
Swift

import Flutter
import UIKit
public class SwiftCwZanoPlugin: NSObject, FlutterPlugin {
public static func register(with registrar: FlutterPluginRegistrar) {
let channel = FlutterMethodChannel(name: "cw_zano", binaryMessenger: registrar.messenger())
let instance = SwiftCwZanoPlugin()
registrar.addMethodCallDelegate(instance, channel: channel)
}
public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
result("iOS " + UIDevice.current.systemVersion)
}
}