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